join: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|JOIN]]
[[Category:Scripting Commands ArmA|JOIN]]


{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''''unitArray'' join ''group'''''</h2>
| ofp |= Game name


|1.34|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| 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. |= Description
____________________________________________________________________________________________


'''unitArray:''' [[Array]]
| unitArray '''join''' group |= Syntax


'''group:''' [[Object or Group]]
|p1= unitArray: [[Array]] |= Parameter 1


'''Type of returned value:'''
|p2= group: [[Object or Group]] |= Parameter 2


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


'''Compatibility:'''
|  |= See also


Changed in version '''1.34'''
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Join all units in the array to given group.
<!-- Note Section END -->
</dl>


'''Notes:'''
<h3 style="display:none">Bottom Section</h3>
 
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.
 
 
'''Example:'''
 
[unitOne, unitTwo] '''join''' [[player]]

Revision as of 23:46, 1 August 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:
See also needed

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