{"name":"enableIRLasers","title":"enableIRLasers","type":"command","url":"https://community.bistudio.com/wiki/enableIRLasers","revid":310272,"updated":"2022-05-05T13:11:21Z","groups":["Weapons"],"status":"ok","games":{"arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2oa 1.50","arma3_since":"0.50","locality":{"argument":"local","effect":"global"},"description":"Allows the AI to use IR lasers. Units should be in \"Combat\" behaviour.","syntaxes":[{"syntax":"unitOrGroup enableIRLasers value","params":[{"name":"unitOrGroup","type":"Object or Group","description":"the unit or the group allowed to use IR lasers","type_expr":"Object | Group"},{"name":"value","type":"Boolean","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unitOrGroup"},"right":{"text":"value"}}],"examples":[{"code":["group player enableIRLasers true;"]}],"see_also":["isIRLaserOn","enableGunLights","isLightOn","isCollisionLightOn","setPilotLight","setCollisionLight"]}