Arma 3 Scripting

isIRLaserOn

  • Arma 3 v0.50

Command · Markdown · JSON · 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