Arma 3 Scripting

Command in Unit Inventory

isUniformAllowed

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

Description

Check whether given uniform can be dressed by target soldier.

Syntax

unit isUniformAllowed type

Parameters:

Returns: Boolean

Examples

Example 1

_canUse = _unit isUniformAllowed "U_B_CombatUniform_mcam";

See also

addUniform · forceAddUniform · removeUniform · uniform