Update equipment.sqf
+8
-1
@@ -1 +1,8 @@
|
|||||||
do this bitch
|
//copies all playable units loadout and saves to clipboard
|
||||||
|
AllPlayableUnitsItens = [];
|
||||||
|
{AllPlayableUnitsItens = AllPlayableUnitsItens + [(headgear _x)] + [(goggles _x)] + (assignedItems _x) + (backpackitems _x)+ [(backpack _x)] + (uniformItems _x) + [(uniform _x)] + (vestItems _x) + [(vest _x)] + (magazines _x) + (weapons _x) + (primaryWeaponItems _x)+ (primaryWeaponMagazine _x) + (handgunMagazine _x) + (handgunItems _x) + (secondaryWeaponItems _x) + (secondaryWeaponMagazine _x)} forEach (playableUnits + switchableUnits);
|
||||||
|
AllPlayableUnitsItens = AllPlayableUnitsItens select {count _x > 0};
|
||||||
|
AllPlayableUnitsItens = AllPlayableUnitsItens arrayIntersect AllPlayableUnitsItens;
|
||||||
|
copyToClipboard str AllPlayableUnitsItens;
|
||||||
|
|
||||||
|
//notepad ++ find and replace , with \n for a nicer list
|
||||||
Reference in New Issue
Block a user