DayZ 1.24
Loading...
Searching...
No Matches
ManBase.c
Go to the documentation of this file.
1class ManBase extends DayZPlayerImplement // PSOVIS originaly extends Man
2{
3 void ManBase()
4 {
5 //Print("PSOVIS: this is ManBase");
6 }
7
8 // -------------------------------------------------------------------------
9 // ! On Client, 'true' if this instance of a character is controlled by the player(ie. not a remote player)
11 {
12 return (GetGame().GetPlayer() == this);
13 }
14
15 // -------------------------------------------------------------------------
17 {
18 super.OnVariablesSynchronized();
19 }
20}
PlayerBase GetPlayer()
override void OnVariablesSynchronized()
Definition ManBase.c:16
bool IsControlledPlayer()
Definition ManBase.c:10
proto native CGame GetGame()