unitName isFlashlightOn weaponName

Operand types

unitName: Object
weaponName: String

Type of returned value

Description

Returns true if there is a linked and turned on flashlight on a given weapon.

Used In

Arma3

Example

player isFlashlightOn (currentWeapon player);
Search OFPEC COMREF