weaponCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr2= Containers |GROUP2=" to "|gr2= Unit Inventory |GROUP2=")
mNo edit summary
Line 8: Line 8:
|gr1= Weapons |GROUP1=
|gr1= Weapons |GROUP1=


|gr2= Unit Inventory |GROUP2=
|gr2= Vehicle Inventory |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 10:53, 27 September 2020

Hover & click on the images for description

Description

Description:
Get array with weapons from ammo box (or any general weapon holder container).
Groups:
WeaponsVehicle Inventory

Syntax

Syntax:
weaponCargo box
Parameters:
box: Object
Return Value:
Array of String - list of present classes

Examples

Example 1:
hint str weaponCargo backpackContainer player;

Additional Information

See also:
getWeaponCargoaddWeaponCargoaddWeaponCargoGlobalclearWeaponCargoclearWeaponCargoGlobalmagazineCargoitemCargo

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

Notes

Bottom Section