Arma 3 Scripting

Command in Containers, Unit Inventory

uniformContainer

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

Description

Returns a cargo container of a unit's uniform.

Syntax

uniformContainer unit

Parameters:

Returns: Object - cargo container, objNull if unit does not wear any uniform/clothing

Examples

Example 1

hint str uniformContainer player; //2df7dd00# 163941: dummyweapon.p3d

Example 2

hint str getMagazineCargo uniformContainer player;
/*
    returns e.g
    [
        ["30Rnd_65x39_caseless_mag"],
        [3]
    ]
*/

See also

vestContainer · backpackContainer · everyContainer