---
name: "addUniform"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/addUniform
revid: 318775
updated: 2022-05-13T09:21:28Z
---

# addUniform

*Command · Unit Inventory · Arma 3 v0.50*

Locality: arguments **global** · effect **global**

## 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](../commands/isUniformAllowed.md), and to force an incompatible uniform use [forceAddUniform](../commands/forceAddUniform.md).

## Syntax

```sqf
unit addUniform type
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `type`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_unit addUniform "U_B_CombatUniform_mcam";
```

## See also

[forceAddUniform](../commands/forceAddUniform.md) · [isUniformAllowed](../commands/isUniformAllowed.md) · [removeUniform](../commands/removeUniform.md) · [uniform](../commands/uniform.md)

<sub>Source: [BI Community Wiki — addUniform](https://community.bistudio.com/wiki/addUniform) (revision 318775).</sub>
