Parameters |
Description |
entityId |
entity id |
unitProperties |
binary mask of the returned unit properties type (in the form of UPR_* + UPR* i.e. UPR_COMBAT_GROUND + UPR_COMBAT_FLIGHT) see IAgent.h for definition of unit properties UPR_* |
Syntax: AI.GetUnitCount( entityId, unitProperties )
Gets the number of units the leader knows about. The leader will be found based on the group id of the entity.
Copyright (c) 2012. All rights reserved.
|