user_action.hpp 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. };