Parameters |
Description |
entityId |
AI's entity id or groupId - AI's group id |
flags |
combination of following flags: |
GROUP_ALL |
Returns all agents in the group (default). |
GROUP_ENABLED |
Returns only the count of enabled agents (exclusive with all). |
GROUP_MAX |
Returns the maximum number of agents during the game (can be combined with all or enabled). |
type |
allows to filter to return only specific AI objects by type (cannot be used in together with GROUP_MAX flag). |
group members count
Syntax: AI.GetGroupCount( entityId, flags, type )
returns the given entity's group members count
Copyright (c) 2012. All rights reserved.
|