player

From Bohemia Interactive Community
Revision as of 08:45, 21 July 2006 by Str (talk | contribs) (+ Note about intros and outros)
Jump to navigation Jump to search


player


Operand types:

None

Type of returned value:

Object

Description:

Person controled by player.

In MP this value is different on each computer.


Example:

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.