This is an old revision of the document!
⇐ Index
Available in version 1.X and later.
GetBuildUnit ->selectBuildUnit
When building a unit, returns the string for the unit's type. For custom units, the string is the CMOD GUID. For built in units it is the unit name. If no unit is being built, an empty string is returned.
print(GetBuildUnit)
⇐ Index