Arma 3 Scripting

Command in Containers, Unit Inventory

backpackMagazines

Also available as Markdown and JSON, or read the original wiki page.

Description

Get array with all magazines from backpack of the given unit.

Syntax

backpackMagazines unit

Parameters:

Returns: Array of String

Examples

Example 1

backpackMagazines player;
// returns e.g
/*
[
    "Titan AT Missile(1/1)[id/cr:16/0](2x)"
]
*/

See also

uniformMagazines · vestMagazines · soldierMagazines