{"name":"isIRLaserOn","title":"isIRLaserOn","type":"command","url":"https://community.bistudio.com/wiki/isIRLaserOn","revid":310267,"updated":"2022-05-05T13:11:19Z","groups":["Lights"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","description":"Returns true if there is a linked and enabled IR on the given weapon.","syntaxes":[{"syntax":"unit isIRLaserOn weapon","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"weapon","type":"String","type_expr":"String"}],"returns":{"type":"Boolean","type_expr":"Boolean"},"form":"binary","left":{"text":"unit"},"right":{"text":"weapon"}}],"examples":[{"code":["player isIRLaserOn currentWeapon player;"]}],"see_also":["enableIRLasers","enableGunLights","isLightOn","isCollisionLightOn","setPilotLight","setCollisionLight"]}