BIS_fnc_removeVirtualWeaponCargo
Jump to navigation
Jump to search
Description
- Description:
/* Description: Remove virtual weapons from an object (e.g., ammo box). Virtual items can be selected in the Arsenal. Parameter(s): 0: OBJECT - objct from which weapons will be removed 1: STRING or ARRAY of STRINGs - weapon class(es) to be removed 2 (Optional): BOOL - true to remove weapons globally (default: false) Returns: ARRAY of ARRAYs - all virtual items within the object's space in format [<items>,<weapons>,<magazines>,<backpacks>] */
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
[myAmmoBox,["arifle_MX_F","arifle_MXC_F"],true] spawn BIS_fnc_removeVirtualWeaponCargo; // removes weapons from the virtualArsenal of the object myAmmoBox
- Example 2:
[myAmmoBox,"arifle_MX_F"] spawn BIS_fnc_removeVirtualWeaponCargo; // removes weapon from the virtualArsenal of the object myAmmoBox
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note