unitName isIRLaserOn weaponName

Operand types

unitName: Object
weaponName: String

Type of returned value

Description

Returns true if there is a linked and enabled IR on a given weapon.

Used In

Arma3

Example

player isIRLaserOn (currentWeapon player);
Search OFPEC COMREF