---
name: "unitAddons"
type: command
status: ok
groups: ["Mods and Addons"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/unitAddons
revid: 378475
updated: 2026-04-24T11:31:38Z
---

# unitAddons

*Command · Mods and Addons · Arma 3 v1.00*

## Description

Returns list with addons the unit belongs to.

## Syntax

```sqf
unitAddons className
```

**Parameters:**

- `className`: [String](../topics/String.md) - class name of a unit/vehicle or object

**Returns:** [Array](../topics/Array.md) of [String](../topics/String.md)s - addon names

## Examples

### Example 1

```sqf
hint str unitAddons typeOf player; // ["A3_Characters_F_BLUFOR"]
```

## See also

[activateAddons](../commands/activateAddons.md)

## Community notes

**ffur2007slx2_5** — 2014-03-31

1. From Arma 3 1.14 

```sqf
hint str ([player] call BIS_fnc_unitAddon) // same as unitAddons (typeOf player)
```

1. To return the addon that a weapon belongs to, use [BIS_fnc_weaponAddon](../functions/BIS_fnc_weaponAddon.md) instead. E.g. 

```sqf
(primaryWeapon player call BIS_fnc_weaponAddon); // return: "A3_Weapons_F_Rifles_Khaybar"
```

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