User Tools

Site Tools


4rpl:commands:setunitcanbuild

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:setunitcanbuild [2022/01/12 00:23] – [SetUnitCanBuild] Vertu4rpl:commands:setunitcanbuild [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 8: Line 8:
  
 ====== SetUnitCanBuild ====== ====== SetUnitCanBuild ======
-SetUnitCanBuild(<-unitType <-canBuild)((Note: This does not work for custom units as of now CW v2.2.9. You must remove the player menu name manually instead within the CPACK manager.))+SetUnitCanBuild(<-unitType <-canBuild)
  
 ===== Description ===== ===== Description =====
 Sets a boolean indicating if the specified unit can be built. This call controls the visibility of the build buttons in the left build pane.\\ Sets a boolean indicating if the specified unit can be built. This call controls the visibility of the build buttons in the left build pane.\\
-See [[GetUnitCanBuild]] for the list of unit types.+See [[GetUnitCanBuild]] for the list of unit types.\\ 
 +**Note:** This does not work for custom units. You must must use [[4rpl:commands:setcmodplayermenuname|SetCModPlayerMenuName]] instead.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/setunitcanbuild.1641947008.txt.gz · Last modified: 2025/02/14 14:56 (external edit)