unitName weaponAccessories weapon

Operand types

unitName: Object
weapon: String

Type of returned value

Description

Get array with all items linked to the given weapon.

Used In

Arma3

Example

hint str(player weaponAccessories (currentWeapon player));
Search OFPEC COMREF