primaryWeaponMagazine unitName

Operand types

unitName: Object

Type of returned value

Description

Returns either single element array, containing class name of currently loaded in the primary weapon magazine, or an empty array if unit has no primary weapon or primary weapon is not loaded.

This command is used for infantry weapons only.

Used In

Arma3

Example

primaryWeaponMagazine player;
Search OFPEC COMREF