currentWeapon vehicleName

Operand types

vehicleName: Object

Type of returned value

Description

Returns the name of the currently selected weapon (on the primary turret for the vehicle).

Works reliably only for player unit(s), due to game design work for AI as 'what weapon would AI like to engage with' (-Suma).

Used In

Arma2

Example

There are no examples for this command
Search OFPEC COMREF