cis_aircraft_turrets.hpp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //CIS_Air
  2. class macro_new_vehicle(cis,vulture) {
  3. class turret_script {
  4. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[0,1.5,-.6]] spawn macro_fnc_name(apply_aircraft_turrets);
  5. };
  6. };
  7. class macro_new_vehicle(hyena,Mk2) {
  8. class turret_1 {
  9. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[-1,1.5,-0.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  10. };
  11. class turret_2 {
  12. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[1,1.5,-0.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  13. };
  14. };
  15. class macro_new_vehicle(HMP,gunship) {
  16. class turret1 {
  17. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[0,5,-.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  18. };
  19. class turret2 {
  20. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[5,0,-.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  21. };
  22. class turret3 {
  23. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[-5,0,-.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  24. };
  25. macro_standard_eh
  26. };
  27. class macro_new_vehicle(HMP,transport) {
  28. class turret1 {
  29. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[0,5,-.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  30. };
  31. macro_standard_eh
  32. };