join

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.34Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.34

Description

Description:
Join all units in the array to given group.

Maximum number of group members is:

  • OFP: 12
  • Arma: ?
  • Arma2: ?
  • VBS2: "unlimited" (260+)

To have a group member leave a group, join him with the grpNull group (e.g. [guy1] join grpNull)

Syntax

Syntax:
unitArray join group
Parameters:
unitArray: Array
group: Group or Object
Return Value:
Nothing

Examples

Example 1:
[_unitOne, _unitTwo] join player
Example 2:
[_unitOne, _unitTwo] join (group player)

Additional Information

Multiplayer:
This function is unsupported in MP in version 1.33 and before.
See also:
joinSilent, group, leader

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools