groups

From Bohemia Interactive Community
Revision as of 17:14, 14 November 2022 by R3vo (talk | contribs) (phrasing)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.12.

Description

Description:
Returns an array with all groups of given side.
Groups:
Groups

Syntax

Syntax:
groups side
Parameters:
side: Side
Return Value:
Array of Groups

Examples

Example 1:
private _allBluforGroups = groups blufor; // equivalent of allGroups select { side _x == blufor };

Additional Information

See also:
group allGroups units allUnits

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