AgentRev
This command considers captive units as civilians, regardless of their group's side.
Results appear below as you type; use the arrow keys to move through them.
Command · also in Object Detection · Markdown · JSON · original wiki page
Returns how many units in the given array belong to given side.
side countSide array
Parameters:
side: Side
array: Array of Objects or Groups
Note
If the object in passed array is a Group, the leader of the group will be counted.
Returns: Number
_num = west countSide list _triggerOne;
_numCivPlayable = civilian countSide playableUnits;
countFriendly · countEnemy · countUnknown · count · countType · playersNumber · units · allUnits
This command considers captive units as civilians, regardless of their group's side.