common.hpp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. faction = macro_cis_faction
  2. editorSubcategory = macro_editor_cat_air(CIS_heli)
  3. vehicleClass = macro_editor_vehicle_type_air(CIS)
  4. airBrakeFrictionCoef = 80.4;
  5. class UserActions
  6. {
  7. class ThrusterEngage
  8. {
  9. condition = "(!(this getvariable [""impulsorStatus"",false]) AND (player == driver this) AND (alive this) AND (speed this >50) )";
  10. displayName = "<t color='#4C9900'>[Impulsor On]</t>";
  11. displayNameDefault = "<t color='#4C9900'>[Impulsor On]</t>";
  12. onlyForPlayer = 0;
  13. position = "pilotview";
  14. priority = 1e+008;
  15. radius = 6;
  16. statement = "this execVM ""\SW_Droides_2\DroidGunship\initTE.sqf""";
  17. textToolTip = "<t color='#4C9900'>[Impulsor On]</t>";
  18. userActionID = 64;
  19. };
  20. class ThrusterDisngage : ThrusterEngage
  21. {
  22. condition = "((this getvariable [""impulsorStatus"",false]) AND (player == driver this) AND (alive this))";
  23. displayName = "<t color='#FF9933'>[RepulsorBrake On]</t>";
  24. displayNameDefault = "<t color='#FF9933'>[RepulsorBrake On]</t>";
  25. onlyForPlayer = 0;
  26. position = "pilotview";
  27. priority = 1e+008;
  28. radius = 6;
  29. statement = "this execVM ""\SW_Droides_2\DroidGunship\initTD.sqf""";
  30. textToolTip = "<t color='#FF9933'>[RepulsorBrake On]</t>";
  31. userActionID = 65;
  32. };
  33. };
  34. class EventHandlers
  35. {
  36. fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');";
  37. init = "[_this select 0] execVM '\SW_Droides_2\DroidGunship\initturbine.sqf';";
  38. killed = "_this call (uinamespace getvariable 'BIS_fnc_effectKilled');";
  39. class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base {};
  40. };