This is an old revision of the document!
⇐ 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.
SetUnitCanBuild("beacon" true)
⇐ Index