join: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added groups functionality category)
mNo edit summary
Line 6: Line 6:
|1.34|= Game version
|1.34|= Game version


|arg= global |= Arguments in MP
|arg= local |= Arguments in MP


|eff= global |= Effects in MP
|eff= global |= Effects in MP
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
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[unitOne, unitTwo] join [[player]]</code> |= Example 1
|x1= <pre>[unitOne, unitTwo] join [[player]]</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[group]], [[leader]], [[joinSilent]] |= See also
| |= See also


}}
}}
Line 33: Line 33:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on August 4, 2006 - 21:37</dd>
<dt class="note">'''[[User:Pavka|Pavka]]'''</dt><dd class="note">If you want to detach somebody from his group then "join" him to [[grpNull]].
<code>[[Array]] join grpNull</code>
</dd>


<!-- Note Section END -->
<!-- Note Section END -->
Line 51: Line 43:
[[Category:Scripting Commands OFP 1.46|JOIN]]
[[Category:Scripting Commands OFP 1.46|JOIN]]
[[Category:Scripting Commands ArmA|JOIN]]
[[Category:Scripting Commands ArmA|JOIN]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]

Revision as of 11:50, 28 April 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:
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