Hardrock
Notes from before the conversion:
The countFriendly command seem to count the number of units from the array that are considered to be of the given type by the whole side, not just the specified unit.
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Count how many units in the array are considered friendly to the given unit.
unit countFriendly others
Parameters:
Returns: Number
_num = player countFriendly list _triggerOne;
count · countEnemy · countUnknown · countSide · countType
Notes from before the conversion:
The countFriendly command seem to count the number of units from the array that are considered to be of the given type by the whole side, not just the specified unit.