manbase.c 563 B

1234567891011121314151617181920
  1. class ManBase extends DayZPlayerImplement // PSOVIS originaly extends Man
  2. {
  3. void ManBase()
  4. {
  5. //Print("PSOVIS: this is ManBase");
  6. }
  7. // -------------------------------------------------------------------------
  8. // ! On Client, 'true' if this instance of a character is controlled by the player(ie. not a remote player)
  9. bool IsControlledPlayer()
  10. {
  11. return( GetGame().GetPlayer() == this );
  12. }
  13. // -------------------------------------------------------------------------
  14. override void OnVariablesSynchronized()
  15. {
  16. super.OnVariablesSynchronized();
  17. }
  18. }