loadout_cr-c.sqf 979 B

123456789101112131415161718192021222324252627282930313233343536
  1. ///////////////////////////////////////////////////////////////
  2. // 501st Legion - Loadout Script
  3. // File: loadout_cr.sqf
  4. // By: CC Cruisie
  5. // Creation Date: 01/15/2018
  6. //
  7. // Change Log:
  8. //
  9. //
  10. ///////////////////////////////////////////////////////////////
  11. ///////////// /\/ ( ) T E S ///////////////////////////////////
  12. // Place this code in the init.sqf.
  13. // nameofbox addAction ["Clone Recruit Loadout", "scripts\loadouts\loadout_cr.sqf"];
  14. //
  15. // Place this code in the init field of selected unit:
  16. // this disableai "move"; nop = [this] execVM "scripts\loadouts\loadout_cr.sqf";
  17. ///////////////////////////////////////////////////////////////
  18. _unit = _this select 0;
  19. if (!local _unit) exitWith {};
  20. removeallweapons _unit;
  21. removeheadgear _unit;
  22. removeVest _unit;
  23. _unit unassignItem "NVgoggles";
  24. _unit removeItem "NVGoggles";
  25. _unit addweapon "rangefinder";
  26. _unit assignitem "rangefinder";
  27. _unit additem "itemRadio";
  28. _unit addheadgear "";
  29. removebackpack _unit;