{"name":"setLightIR","operator":null,"title":"setLightIR","type":"command","url":"https://community.bistudio.com/wiki/setLightIR","revid":310362,"updated":"2022-05-05T17:39:18Z","groups":["Lights"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.06"}],"since":{"game":"arma3","name":"Arma 3","version":"2.06"},"arma3_since":"2.06","branch":null,"locality":{"argument":"local","effect":"local","server_exec":false},"exec":null,"description":"Sets lightpoint in infrared range.","syntaxes":[{"syntax":"light setLightIR value","since":null,"effect":null,"exec":null,"params":[{"name":"light","type":"Object","optional":false,"default":null,"description":"object of class `\"#lightpoint\"` or similar","types":["Object"],"since":null,"text":"light: Object - object of class `\"#lightpoint\"` or similar"},{"name":"value","type":"Boolean","optional":false,"default":null,"description":"true to make it visible *only* with night vision goggles, false to make it a normal light","types":["Boolean"],"since":null,"text":"value: Boolean - true to make it visible *only* with night vision goggles, false to make it a normal light"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"light","types":["Object"]},"right":{"text":"value","types":["Boolean"]}}],"examples":[{"text":"```sqf\nmyLight setLightIR true; // visible with NVG only!\n```","code":["myLight setLightIR true; // visible with NVG only!"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setLightColor","setLightAmbient","setLightBrightness","lightAttachObject","lightDetachObject","setLightIntensity","setLightAttenuation","setLightUseFlare","setLightFlareSize","setLightFlareMaxDistance","setLightDayLight"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Lights","Introduced with Arma 3 version 2.06","Scripting Commands","Scripting Commands: Local Effect"]}