Description
Count how many objects in the array are of given type. This command also works with parent classes like "Air", "Tank", and "Car". For a full class reference see Classes.
Syntax
type countType objects
Parameters:
Returns: Number
Examples
Example 1
_count = "Tank" countType list _triggerOne;
Example 2
_count = "B_medic_F" countType units player;
See also
count · isKindOf · typeOf · countFriendly · countEnemy · countSide · countUnknown