Cold Evil 13 Posted December 30, 2013 Hi! Is there some way possible to remove all first aid kits from units and vehicles? Share this post Link to post Share on other sites
fight9 14 Posted December 30, 2013 You'll probably have to remove all items, then add back what you want. Share this post Link to post Share on other sites
jts_2009 96 Posted December 30, 2013 (edited) Hi!Is there some way possible to remove all first aid kits from units and vehicles? {_x removeItems "Firstaidkit";ClearItemCargo _x} foreach (allUnits + vehicles); but this will delete all items from vehicle (Items, not weapons or magazines) Edited December 30, 2013 by JTS_2009 Share this post Link to post Share on other sites
Cold Evil 13 Posted December 30, 2013 should i add that in the init.sqf? And will it loop and remove it form ai spawning during the game also? Share this post Link to post Share on other sites
jts_2009 96 Posted December 30, 2013 (edited) should i add that in the init.sqf?And will it loop and remove it form ai spawning during the game also? yes. Add this to Init.sqf. This will remove first-aid kits from all existing in current time units and all items from vehicles. If you create later some vehicles, you have to write this command again to every vehicle/unit. for example: ClearItemCargo MyTank1; for units: unit1 removeItems "firstaidkit"; or if you create unit with init, then for example so: "Class_of_unit" createUnit [getpos player, group player, "this removeItems 'Firstaidkit'"]; Edited December 30, 2013 by JTS_2009 Share this post Link to post Share on other sites