It would be nice to have the BIS_fnc_removeVirtualWeaponCargo function work like the equivalent BIS_fnc_addVirtualWeaponCargo, if you're using it 0 = ["AmmoboxInit",[this,true]] spawn BIS_fnc_arsenal;. Sometimes you might want to disallow only single items or weapons and this way it would be easy to remove them this way instead of adding all weapons and items except the ones you wish to exclude. Especially if you use addons.
- Legacy ID
- Virtual Arsenal
-Place empty ammobox, name it myBox
-add "0 = ["AmmoboxInit",[this,true]] spawn BIS_fnc_arsenal; [myBox,["arifle_MXC_F"],true] call BIS_fnc_removeVirtualWeaponCargo;" to the init field
-Preview and open the Arsenal from the ammo box you will still see the MX Carbine Rifle