allGroups

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

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

Syntax:
allGroups
Return Value:
Array

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;

Additional Information

Multiplayer:
-
See also:
groupunitsallCuratorsallDeadplayableUnitsswitchableUnitsvehiclesallUnitsUAV

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section