1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- ///////////////////////////////////////////////////////////////
- // 501st Legion - Loadout Script
- // File: loadout_cs.sqf
- // By: CC Cruisie
- // Creation Date: 01/15/2018
- //
- // Change Log:
- //
- //
- ///////////////////////////////////////////////////////////////
- ///////////// /\/ ( ) T E S ///////////////////////////////////
- // Place this code in the init.sqf.
- // nameofbox addAction ["Clone Sergeant Loadout", "scripts\loadouts\loadout_cs.sqf"];
- //
- // Place this code in the init field of selected unit:
- // this disableai "move"; nop = [this] execVM "scripts\loadouts\loadout_cs.sqf";
- ///////////////////////////////////////////////////////////////
- _unit = _this select 0;
-
- if (!local _unit) exitWith {};
- removeallweapons _unit;
- removeheadgear _unit;
- removeVest _unit;
- _unit unassignItem "NVgoggles";
- _unit removeItem "NVGoggles";
-
- _unit addweapon "rangefinder";
- _unit assignitem "rangefinder";
- _unit additem "itemRadio";
-
- _unit addWeapon "CUP_arifle_M16A4_base";
- _unit addMagazine "MEU_30Rnd_M855A1_556x45_Stanag";
- _unit addMagazine "MEU_30Rnd_M855A1_556x45_Stanag";
- _unit addMagazine "MEU_30Rnd_M855A1_556x45_Stanag";
- _unit additem "CUP_optic_ACOG";
-
- _unit addheadgear "";
-
- removebackpack _unit;
|