⇐ Index
SetUnitCanBuild(<-unitType <-canBuild)
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.
Note: This does not work for custom units. You must must use SetCModPlayerMenuName instead.
SetUnitCanBuild("beacon" true)
⇐ Index