allGroups
- Arma 3 v0.50
- First in Arma 2 v1.00
Command · also in Object Detection · Markdown · JSON · original wiki page
Description
Return a list of all groups created on the following sides east, west, resistance/independent and civilian only. Does not contain groups of sideLogic.
Syntax
allGroups
Examples
Example 1
{ leader _x sideChat "Go ! Go ! Go !" } forEach allGroups;
Example 2
All groups with players:
private _allGroupsWithPlayers = [];
{ _allGroupsWithPlayers pushBackUnique group _x } forEach allPlayers;
See also
group · groups · units · allCurators · allDead · playableUnits · switchableUnits · vehicles · allUnitsUAV