countSide

From Bohemia Interactive Community
Revision as of 19:48, 15 March 2014 by Master85 (talk | contribs) (modified syntax, added example, see also)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Count how many units in the array belong to given side.
Groups:
Uncategorised

Syntax

Syntax:
side countSide arrayName
Parameters:
side: Side
arrayName: Array of Objects
Return Value:
Number

Examples

Example 1:
_num = west countSide list _triggerOne;
Example 2:
_numCivPlayable = civilian countSide playableUnits;

Additional Information

See also:
countcountFriendlycountEnemycountUnknown

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section