{"name":"enableIRLasers","operator":null,"title":"enableIRLasers","type":"command","url":"https://community.bistudio.com/wiki/enableIRLasers","revid":310272,"updated":"2022-05-05T13:11:21Z","groups":["Weapons"],"status":"ok","replaced_by":[],"games":[{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":"local","effect":"global","server_exec":false},"exec":null,"description":"Allows the AI to use IR lasers. Units should be in \"Combat\" behaviour.","syntaxes":[{"syntax":"unitOrGroup enableIRLasers value","since":null,"effect":null,"exec":null,"params":[{"name":"unitOrGroup","type":"Object or Group","optional":false,"default":null,"description":"the unit or the group allowed to use IR lasers","types":["Object","Group"],"since":null,"text":"unitOrGroup: Object or Group - the unit or the group allowed to use IR lasers"},{"name":"value","type":"Boolean","optional":false,"default":null,"description":null,"types":["Boolean"],"since":null,"text":"value: Boolean"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"unitOrGroup","types":["Object","Group"]},"right":{"text":"value","types":["Boolean"]}}],"examples":[{"text":"```sqf\ngroup player enableIRLasers true;\n```","code":["group player enableIRLasers true;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["isIRLaserOn","enableGunLights","isLightOn","isCollisionLightOn","setPilotLight","setCollisionLight"],"notes":[],"categories":["Arma 2: Operation Arrowhead: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 3: Scripting Commands","Command Group: Weapons","Introduced with Arma 2: Operation Arrowhead version 1.50","Scripting Commands","Scripting Commands: Global Effect","Take On Helicopters: Scripting Commands"]}