user_action.hpp 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. class ThrusterEngage
  2. {
  3. displayName = "";
  4. displayNameDefault = "";
  5. textToolTip = "";
  6. position = "pilotview";
  7. radius = 20;
  8. priority = 0;
  9. onlyForPlayer = 1;
  10. condition = "((player == driver this) AND (alive this))";
  11. statement = "this execVM '\RD501_Main\functions\impulse\fnc_impulseIncrease.sqf'";
  12. shortcut="User19";
  13. };
  14. class ThrusterDisengage: ThrusterEngage
  15. {
  16. priority = 0;
  17. displayName = "";
  18. displayNameDefault = "";
  19. textToolTip = "";
  20. condition = "((player == driver this) AND (alive this))";
  21. statement = "this execVM '\RD501_Main\functions\impulse\fnc_impulseDecrease.sqf'";
  22. shortcut="User20";
  23. };
  24. class impulseOn
  25. {
  26. condition = "false;";
  27. };
  28. class impulseOff
  29. {
  30. condition = "false;";
  31. };
  32. class rampOpen: rampOpen
  33. {
  34. condition="(this animationphase 'ramp' == 0) AND (alive this) AND (player in [gunner this, driver this])";
  35. };
  36. class rampClose: rampClose
  37. {
  38. condition="(this animationphase 'ramp' == 1) AND (alive this) AND (player in [gunner this, driver this])";
  39. };