join: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(how to "unjoin")
m (VBS2 scripting category removal)
Line 56: Line 56:
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 05:14, 19 July 2011

Hover & click on the images for description

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)
Multiplayer:
This function is unsupported in MP in version 1.33 and before.
Groups:
Uncategorised

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

See also:
joinSilentgroupleader

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

Notes

Bottom Section