backpackMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| * )+\}\}" to "}}")
m (Text replacement - " {3,}\|" to " |")
Line 16: Line 16:


| [[Array]]
| [[Array]]


|x1= <code>[[backpackMagazines]] [[player]];</code>
|x1= <code>[[backpackMagazines]] [[player]];</code>
Line 23: Line 22:
"Titan AT Missile(1/1)[id/cr:16/0](2x)"
"Titan AT Missile(1/1)[id/cr:16/0](2x)"
]</code>
]</code>


| [[uniformMagazines]], [[vestMagazines]], [[soldierMagazines]]
| [[uniformMagazines]], [[vestMagazines]], [[soldierMagazines]]

Revision as of 18:02, 18 January 2021

Hover & click on the images for description

Description

Description:
Get array with all magazines from backpack of the given unit.
Groups:
ContainersUnit Inventory

Syntax

Syntax:
backpackMagazines unit
Parameters:
unit : Object
Return Value:
Array

Examples

Example 1:
backpackMagazines player;
[ "Titan AT Missile(1/1)[id/cr:16/0](2x)" ]

Additional Information

See also:
uniformMagazinesvestMagazinessoldierMagazines

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