Arma 3 Scripting

addUniform

  • Global argument
  • Global effect
  • Arma 3 v0.50

Command · Markdown · JSON · original wiki page

Description

Create a new uniform and try to link it into uniform slot (given uniform has to be supported by allowedUniforms list of target soldier).

Note

To check if a uniform is allowed use isUniformAllowed, and to force an incompatible uniform use forceAddUniform.

Syntax

unit addUniform type

Parameters:

Returns: Nothing

Examples

Example 1

_unit addUniform "U_B_CombatUniform_mcam";

See also

forceAddUniform · isUniformAllowed · removeUniform · uniform