This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:setunitcanbuild [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:setunitcanbuild [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
< | < | ||
+ | |||
+ | <WRAP tabs> | ||
+ | * [[4rpl: | ||
+ | * [[4rpl: | ||
+ | </ | ||
====== SetUnitCanBuild ====== | ====== SetUnitCanBuild ====== | ||
Line 7: | Line 12: | ||
===== 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: | ||
===== Examples ===== | ===== Examples ===== |