join: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(+ category)
mNo edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unitArray '''join''' group |= Syntax
| [[Object#Units|Units]] '''join''' GrpOrUnit|= Syntax


|p1= unitArray: [[Array]] |= Parameter 1
|p1= [[Object#Units|Units]]: [[Array]] of [[Object#Unit|Unit]] |= Parameter 1


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[unitOne, unitTwo] join [[player]]</pre> |= Example 1
|x1= <pre>[_unitOne, _unitTwo] join [[player]]</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:55, 27 August 2007

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:
Units join GrpOrUnit
Parameters:
Units: Array of Unit
GrpOrUnit: Object or Group
Return Value:
Nothing

Examples

Example 1:
[_unitOne, _unitTwo] join [[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