GetUnitBuildTime
- Parameters
unitid integerRawcode to specify unit type
- comment
Gets the building time of a unit-type.
- common.ai native
- To use this native you have to declare it in your script.
- patch
1.07
- Source
- common.ai (raise an issue to discuss on Github or submit a PR)
- return type
integer- Source code
native GetUnitBuildTime takes integer unitid returns integer