Arma 3 Scripting

Command in Groups

join

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

Description

Maximum number of
units per group
Operation Flashpoint 12
Later titles 10000+

Joins units into a given Group.

To make a unit leave its current group, join it into grpNull (e.g. [MyUnit] join grpNull) - but beware: A new group is created for the leaving unit; this could result in the number of groups growing out of control.

Syntax

unitArray join group

Parameters:

Returns: Nothing

Examples

Example 1

[_unitOne, _unitTwo] join player;

Example 2

[_unitOne, _unitTwo] join (group player);

See also

joinAs · joinAsSilent · joinSilent · group · leader · doFollow