player: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (+ Note about intros and outros)
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|PLAYER]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|PLAYER]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|PLAYER]]
[[Category:Scripting Commands ArmA|PLAYER]]


| ofp |= Game name


<h2 style="color:#000066">'''player'''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Person controled by player. In MP this value is different on each computer. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''player''' |= Syntax


None
| [[Object]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>player addrating 500</pre> |= Example 1
____________________________________________________________________________________________


'''Type of returned value:'''
|  |= See also


[[Object]]
}}


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


Person controled by player.
<!-- Note Section END -->
</dl>


In MP this value is different on each computer.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|PLAYER]]
 
[[Category:Scripting Commands OFP 1.96|PLAYER]]
'''Example:'''
[[Category:Scripting Commands OFP 1.46|PLAYER]]
 
[[Category:Scripting Commands ArmA|PLAYER]]
'''player''' addrating 500
 
 
'''MP Note:'''
 
The variable '''player''' is not always initialised at startup of a mission, you have to add a (very short) delay before you can use it.
 
'''Intro/Outro:'''
 
The variable '''player''' is not defined at all, but you can give name '''player''' to unit which is marked as player.

Revision as of 00:00, 2 August 2006

Hover & click on the images for description

Description

Description:
Person controled by player. In MP this value is different on each computer.
Groups:
Uncategorised

Syntax

Syntax:
player
Return Value:
Object

Examples

Example 1:
player addrating 500

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