dayzanimalinputcontroller.c 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //! defined in C++
  2. enum DayZAnimalBehaviourSlot
  3. {
  4. NONE,
  5. CALM,
  6. CALM_RESTING,
  7. CALM_GRAZING,
  8. CALM_TRAVELLING,
  9. DRINKING,
  10. NON_SPECIFIC_THREAT,
  11. SPECIFIC_THREAT,
  12. ALERTED,
  13. ATTRACTED,
  14. SCARED,
  15. HUNTING,
  16. EATING,
  17. SIEGE,
  18. FIREPLACE,
  19. ENRAGED,
  20. ENRAGED_TARGETLOST,
  21. PREATTRACTED,
  22. INTIMIDATE,
  23. };
  24. //! defined in C++
  25. enum DayZAnimalBehaviourAction
  26. {
  27. NONE_INPUT,
  28. SAFETY_INPUT,
  29. GRAZE_WALKING_INPUT,
  30. GRAZE_ON_SPOT_INPUT,
  31. RESTING_INPUT,
  32. TRAVELING_INPUT,
  33. EATING_INPUT,
  34. DRINKING_INPUT,
  35. CHARGING,
  36. APPROACHING_INPUT,
  37. REACH_INPUT,
  38. WALKING_INPUT,
  39. IDLE1_INPUT,
  40. IDLE2_INPUT,
  41. IDLE3_INPUT,
  42. THREAT_WALK_AWAY,
  43. THREAT_WALK_TO,
  44. THREAT_STAY_LOOKAT,
  45. THREAT_STAY,
  46. };
  47. class DayZAnimalInputController : DayZCreatureAIInputController
  48. {
  49. proto native bool IsDead();
  50. proto native bool IsAttack();
  51. proto native void OverrideBehaviourAction(bool state, int action);
  52. proto native int GetBehaviourAction();
  53. //--------------------------------------------------------------
  54. //! never created by script
  55. private void DayZAnimalInputController()
  56. {
  57. }
  58. //! never destroyed by script
  59. private void ~DayZAnimalInputController()
  60. {
  61. }
  62. };