magazineCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 5: Line 5:


|0.50|Game version=
|0.50|Game version=
|gr1= Vehicle Inventory |GROUP1=
|gr2= Weapons |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 10: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''magazineCargo''' box |SYNTAX=
| '''magazineCargo''' object |SYNTAX=


|p1= box: [[Object]]  |PARAMETER1=  
|p1= object: [[Object]] - Vehicle or ammo box |PARAMETER1=  


| [[Array]] - Format: ["MagType1","MagType1","MagType2"...] |RETURNVALUE=  
| [[Array]] - Format: ["MagType1","MagType1","MagType2"...] |RETURNVALUE=  

Revision as of 12:43, 24 September 2020

Hover & click on the images for description

Description

Description:
Get array with magazines from ammo box (or any general weapon holder container).
Groups:
Vehicle InventoryWeapons

Syntax

Syntax:
magazineCargo object
Parameters:
object: Object - Vehicle or ammo box
Return Value:
Array - Format: ["MagType1","MagType1","MagType2"...]

Examples

Example 1:
hint str magazineCargo uniformContainer cursorTarget;

Additional Information

See also:
magazinesAmmoCargogetMagazineCargoaddMagazineCargoaddMagazineCargoGlobalclearMagazineCargoclearMagazineCargoGlobal weaponCargoitemCargo

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