Arma 3 Scripting

Command in Containers, Unit Inventory

uniformMagazines

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

Description

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

Syntax

uniformMagazines unit

Parameters:

Returns: Array of String

Examples

Example 1

uniformMagazines player;
// returns e.g
/*
[
    "6.5mm 30Rnd STANAG Mag(30/30)[id/cr:1/0](3x)"
]
*/

See also

vestMagazines · backpackMagazines · soldierMagazines