Parameters |
Description |
entityId |
entity id |
unitProperties |
binary mask of unit properties type for which the attack is requested (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.SetUnitProperties( entityId, unitProperties )
Sets the leader knowledge about the units combat capabilities. The leader will be found based on the group id of the entity.
Copyright (c) 2012. All rights reserved.
|