dayzcreatureaiinputcontroller.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. class DayZCreatureAIInputController
  2. {
  3. proto native void OverrideMovementSpeed(bool state, float movementSpeed);
  4. proto native float GetMovementSpeed();
  5. proto native void OverrideTurnSpeed(bool state, float turnSpeed);
  6. proto native float GetTurnSpeed();
  7. proto native void OverrideHeading(bool state, float heading);
  8. proto native float GetHeading();
  9. proto native void OverrideJump(bool state, int jumpType, float jumpHeight = 0);
  10. proto native bool IsJump();
  11. proto native int GetJumpType();
  12. proto native float GetJumpHeight();
  13. proto native void OverrideLookAt(bool state, vector direction);
  14. proto native bool IsLookAtEnabled();
  15. proto native vector GetLookAtDirectionWS();
  16. proto native void OverrideAlertLevel(bool state, bool alerted, int level, float inLevel);
  17. proto native int GetAlertLevel();
  18. proto native float GetAlertInLevel();
  19. proto native bool IsAlerted();
  20. proto native void OverrideBehaviourSlot(bool state, int slot);
  21. proto native int GetBehaviourSlot();
  22. //--------------------------------------------------------------
  23. //! never created by script
  24. private void DayZCreatureAIInputController()
  25. {
  26. }
  27. //! never destroyed by script
  28. private void ~DayZCreatureAIInputController()
  29. {
  30. }
  31. };