Page MenuHomeFeedback Tracker

Allow BIS_fnc_removeVirtualWeaponCargo to work as Blacklist
New, WishlistPublic

Description

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.

Details

Legacy ID
694637991
Severity
None
Resolution
Open
Reproducibility
Always
Category
Virtual Arsenal
Steps To Reproduce

-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

Event Timeline

Raxol edited Steps To Reproduce. (Show Details)Feb 15 2015, 7:18 PM
Raxol edited Additional Information. (Show Details)
Raxol set Category to Virtual Arsenal.
Raxol set Reproducibility to Always.
Raxol set Severity to None.
Raxol set Resolution to Open.
Raxol set Legacy ID to 694637991.May 7 2016, 8:16 PM