XEH_postinit.sqf 739 B

12345678910111213141516171819
  1. #include "config_macros.hpp"
  2. //Run the jumppack script
  3. [] spawn {
  4. [] spawn compile preprocessFileLineNumbers 'macro_mod_script_path\jumppack\jumppack.sqf';
  5. sleep 0.5;
  6. call compile preprocessFileLineNumbers 'macro_mod_script_path\jumppack\jumppack_effects.sqf';
  7. };
  8. // Add nightvision event handler
  9. call macro_fnc_name(nightvision);
  10. // Drone Recharge
  11. RD501_DRONE_BATTERY = "lightsaberG_swing";
  12. RD501_FORCE_WALK_WEAPONS = [macro_quote(macro_new_weapon_nofam(z1000))];
  13. ["weapon", macro_fnc_name(heavyWeaponHandlePlayerWeaponChanged)] call CBA_fnc_addPlayerEventHandler;
  14. RD501_AUTO_RELOAD_ON_EQUIP = [macro_quote(macro_new_weapon_nofam(z1000))];
  15. ["weapon", macro_fnc_name(reloadWeaponOnFirstSelected)] call CBA_fnc_addPlayerEventHandler;