Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Join all units in the array to the given group. To have a group member leave a group, join them with the grpNull group (for example, [unit1] join grpNull).

Syntax

Syntax:unitArray join group
Parameters:
  • unitArray: Array - List of units that join.
  • group: Group or Object - Group or lead unit that unitArray joins.
Return Value:Nothing

Alternative Syntax

Syntax:groupArray join group (V3.5+)
Parameters:
Return Value:Nothing

Examples

Examples:[_unitOne, _unitTwo] join player[_unitOne, _unitTwo] join (group player)[group player] join (group soldier1)

Additional Information

See also: joinSilent, group, leader, isStructureGroup
Multiplayer:This function is unsupported in MP in version V1.33 and earlier.
Problems: 

Notes