join: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed link)
mNo edit summary
Line 18: Line 18:
|p1= unitArray: [[Array]] |= Parameter 1
|p1= unitArray: [[Array]] |= Parameter 1


|p2= group: [[Object or Group]] |= Parameter 2
|p2= group: [[Object]] or [[Group]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 03:38, 22 December 2006

Hover & click on the images for description

Description

Description:
Join all units in the array to given group. Notes: Total number of group members must not exceed 12 (in OFP!). This function is unsupported in MP in version 1.33 and before, now it has to be executed where the given unit is local.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
[unitOne, unitTwo] join player

Additional Information

See also:
groupleader

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

Posted on August 4, 2006 - 21:37
Pavka
If you want to detach somebody from his group then "join" him to grpNull. Array join grpNull

Bottom Section