At the moment Arma3 does not have the functionality to allow a scriptwriter to remove a single weapon, magazine, item, backpack from a cargo space.
An ammo crate contains 300 magazines of ammo. I want to reduce the magazine count by 1. To do this I am required to clear all magazines in the crate and then reload all the magazines again minus a single magazine.
The simplest way to allow this to happen without much effort would be to allow negative numbers to be 'added' to the cargo container.
_CrateWeapons = weaponCargo AmmoCrate1;
if("MegapewpewGunofDooM" In _CrateWeapons) then
AmmoCrate1 addweaponcargo ["MegapewpewGunofDooM",-1];
can we PLEASE have
your own removeweaponcargo command from VBS2
your own removeMagazineCargo command from VBS2
and could you create a
removeitemcargo (for items, uniforms, backpacks etc)
I hope you guys add this capability because at the moment I am going to have to design an entire GUI and container system because these functions do not exist.