Arma 3 Scripting

Command in Sides, Object Detection

countSide

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns how many units in the given array belong to given side.

Syntax

side countSide array

Parameters:

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