GetUnitCountDone
- Parameters
unitid integerRawcode to specify unit type to count
- comment
Counts units of type for the AI player that is trained/built or in progress.
- note
See:
GetUnitCount- patch
1.00
- Source
- common.ai (raise an issue to discuss on Github or submit a PR)
- return type
integer- Source code
native GetUnitCountDone takes integer unitid returns integer