primaryWeaponItems unitName

Operand types

unitName: Object

Type of returned value

Description

Returns array with all items (weapon attachments) assigned to the primary weapon.
This command is used for infantry weapons only.

Used In

Arma3

Example

primaryWeaponItems player;
Search OFPEC COMREF