BIS fnc addVirtualWeaponCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
Line 27: Line 27:




[[Category:Functions|{{uc:addVirtualWeaponCargo}}]]
 
[[Category:{{Name|arma3}}: Functions|{{uc:addVirtualWeaponCargo}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:addVirtualWeaponCargo}}]]

Revision as of 01:32, 2 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Inventory

Syntax

Syntax:
Syntax needed
Parameters:
object: Object - Object to which items will be added
weaponClasses: Boolean, String or Array of strings - Weapon classes
addItemsGlobal: Boolean - (Optional, default false) true to add items globally
arsenal: Boolean - (Optional, default true) true to add Arsenal action
Return Value:
Return value needed

Examples

Example 1:
[ BIS_ammoBox, ["class_1","class_2"], false, true ] call BIS_fnc_addVirtualWeaponCargo;

Additional Information

See also:
See also needed

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