droid_inits.hpp 632 B

1234567891011121314151617181920212223242526272829303132
  1. class Extended_Init_EventHandlers
  2. {
  3. class macro_new_unit_class(opfor,B1_prototype)
  4. {
  5. class apply_skills
  6. {
  7. init = [_this select 0] spawn macro_fnc_name(b1_specop_apply_skill);
  8. };
  9. };
  10. class macro_new_unit_class(opfor,BX)
  11. {
  12. class apply_skills
  13. {
  14. init = [_this select 0] spawn macro_fnc_name(b1_specop_apply_skill);
  15. };
  16. };
  17. class macro_new_unit_class(opfor,B1_jammer)
  18. {
  19. class rd501_jammer
  20. {
  21. init = "[_this select 0, 300, 160] call rd501_fnc_addJammer";
  22. };
  23. };
  24. class macro_new_unit_class(opfor,BX_shield)
  25. {
  26. class rd501_equip_shield
  27. {
  28. init = "_this call rd501_fnc_jlts_shield_aiToggle";
  29. };
  30. };
  31. }