Description
Returns how many units in the given array belong to given side.
Syntax
side countSide array
Parameters:
-
side: Side -
array: Array of Objects or GroupsNote
If the object in passed array is a Group, the leader of the group will be counted.
Returns: Number
Examples
Example 1
_num = west countSide list _triggerOne;
Example 2
_numCivPlayable = civilian countSide playableUnits;
See also
countFriendly · countEnemy · countUnknown · count · countType · playersNumber · units · allUnits