vehicleName currentWeaponTurret [turret path]

Operand types

vehicleName: Object
[turret path]: Array

Type of returned value

Description

Returns the name of the currently selected weapon on specified turret.
Use turret path [-1] for driver's turret.

Used In

Arma3

Example

_wep = myTank currentWeaponTurret [0];
// returns "LMG_M200"
Search OFPEC COMREF