Dayz Explorer 1.28.160049
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)
10 bool IsControlledPlayer()
11 {
12 return( GetGame().GetPlayer() == this );
13 }
14
15 // -------------------------------------------------------------------------
16 override void OnVariablesSynchronized()
17 {
19 }
20}
override void OnVariablesSynchronized()
proto native CGame GetGame()
PlayerBase GetPlayer()