selectLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SELECTLEADER]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SELECTLEADER]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SELECTLEADER]]


| arma |= Game name


<h2 style="color:#000066">'''''group'' selectLeader ''unit'''''</h2>
|2.33|= Game version
____________________________________________________________________________________________


| Select group leader. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| group '''selectLeader''' unit |= Syntax


'''group:''' [[Group]]
|p1= group: [[Group]] |= Parameter 1


'''unit:''' [[Object]]
|p2= unit: [[Object]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>group player selectLeader player</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.33 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Select group leader.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SELECTLEADER]]
 
[[Category:Scripting Commands OFP Elite |SELECTLEADER]]
'''Example:'''
[[Category:Scripting Commands ArmA|SELECTLEADER]]
 
group player '''selectLeader''' player

Revision as of 00:02, 2 August 2006

-wrong parameter ("Arma") defined!-2.33
Hover & click on the images for description

Description

Description:
Select group leader.
Groups:
Uncategorised

Syntax

Syntax:
group selectLeader unit
Parameters:
group: Group
unit: Object
Return Value:
Nothing

Examples

Example 1:
group player selectLeader 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