groups: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (2.12 released, no longer only dev branch)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.12
|version1= 2.12
|branch= dev


|gr1= Groups
|gr1= Groups


|descr= Returns an array with all the provided side's groups.
|descr= Returns an array with all groups of given side.


|s1= [[groups]] side
|s1= [[groups]] side

Latest revision as of 16:38, 28 February 2023

Hover & click on the images for description

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