Arma 3 Scripting

join

  • Global argument
  • Global effect
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.34

Command · Markdown · JSON · 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