Arma 3 Scripting

Command in Lights

isIRLaserOn

Also available as Markdown and JSON, or read the original wiki page.

Description

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

Syntax

unit isIRLaserOn weapon

Parameters:

Returns: Boolean

Examples

Example 1

player isIRLaserOn currentWeapon player;

See also

enableIRLasers · enableGunLights · isLightOn · isCollisionLightOn · setPilotLight · setCollisionLight