selectPlayer: 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|SELECTPLAYER]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SELECTPLAYER]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SELECTPLAYER]]


<h2 style="color:#000066">''' selectPlayer ''unit'''''</h2>
| arma |= Game name


|2.33|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Switch player to given unit. |= Description
____________________________________________________________________________________________


'''unit:''' [[Object]]
| '''selectPlayer''' unit |= Syntax


'''Type of returned value:'''
|p1= unit: [[Object]] |= Parameter 1


[[Nothing]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>selectPlayer aP</pre> |= Example 1
____________________________________________________________________________________________


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


Version 2.33 required.
}}


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


Switch player to given unit.
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
[[Category:Scripting Commands|SELECTPLAYER]]
 
[[Category:Scripting Commands OFP Elite |SELECTPLAYER]]
'''selectPlayer''' aP
[[Category:Scripting Commands ArmA|SELECTPLAYER]]

Revision as of 00:02, 2 August 2006

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

Description

Description:
Switch player to given unit.
Groups:
Uncategorised

Syntax

Syntax:
selectPlayer unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
selectPlayer aP

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