Arma 3 Scripting

Command in Unit Inventory

uniformItems

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

Description

Get array with all items (of any kind, even weapons) from uniform.

Syntax

uniformItems unit

Parameters:

Returns: Array of Strings - Class names of items

Examples

Example 1

uniformItems player;
// returns e.g
/*
[
    "FirstAidKit",
    "30Rnd_65x39_caseless_mag",
    "30Rnd_65x39_caseless_mag",
    "30Rnd_65x39_caseless_mag"
]
*/

See also

vestItems · backpackItems