user_action.hpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. class ThrusterEngage
  2. {
  3. displayName = "<t color='#4C9900'>[Impulsor On]</t>";
  4. displayNameDefault = "<t color='#4C9900'>[Impulsor On]</t>";
  5. textToolTip = "<t color='#4C9900'>[Impulsor On]</t>";
  6. position = "pilotview";
  7. radius = 20;
  8. priority = 21;
  9. onlyForPlayer = 1;
  10. condition = "(!(this getvariable [""impulsorStatus"",false]) AND (player == driver this) AND (alive this) AND (speed this >10) )";
  11. statement = "this execVM ""\LAAT\initTE.sqf""";
  12. };
  13. class ThrusterDisngage: ThrusterEngage
  14. {
  15. priority = 21;
  16. displayName = "<t color='#FF9933'>[RepulsorBrake On]</t>";
  17. displayNameDefault = "<t color='#FF9933'>[RepulsorBrake On]</t>";
  18. textToolTip = "<t color='#FF9933'>[RepulsorBrake On]</t>";
  19. condition = "((this getvariable [""impulsorStatus"",false]) AND (player == driver this) AND (alive this))";
  20. statement = "this execVM ""\LAAT\initTD.sqf""";
  21. };
  22. class ThrusterEngage_spam: ThrusterEngage
  23. {
  24. displayName = "";
  25. displayNameDefault = "";
  26. textToolTip = "";
  27. position = "pilotview";
  28. radius = 20;
  29. priority = 0;
  30. onlyForPlayer = 1;
  31. condition = "((player == driver this) AND (alive this) AND (speed this >10) )";
  32. statement = "this execVM ""\LAAT\initTE.sqf""";
  33. shortcut="User19"
  34. };
  35. class ThrusterDisngage_spam: ThrusterEngage
  36. {
  37. priority = 0;
  38. displayName = "";
  39. displayNameDefault = "";
  40. textToolTip = "";
  41. condition = "((player == driver this) AND (alive this))";
  42. statement = "this execVM ""\LAAT\initTD.sqf""";
  43. shortcut="User20"
  44. };