{"name":"setLightUseFlare","title":"setLightUseFlare","type":"command","url":"https://community.bistudio.com/wiki/setLightUseFlare","revid":341209,"updated":"2023-05-13T22:45:31Z","groups":["Lights"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","locality":{"argument":"local","effect":"local"},"description":"Sets if light has flare.","syntaxes":[{"syntax":"light setLightUseFlare bool","params":[{"name":"light","type":"Object","type_expr":"Object"},{"name":"bool","type":"Boolean","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"light"},"right":{"text":"bool"}}],"examples":[{"code":["myLight setLightUseFlare true;"]}],"see_also":["setLightAmbient","setLightColor","lightAttachObject","lightDetachObject","setLightIntensity","setLightAttenuation","setLightBrightness","setLightFlareSize","setLightFlareMaxDistance","setLightDayLight"],"notes":[{"user":"ffur2007slx2_5","date":"2014-03-25T18:50:00Z","text":"1. In Arma 3 ver 1.14 flare color can be changed via setLightColor.\n1. Flare won't have visual presentation in daytime.\n1. setLightUseFlare needs to be used together with setLightFlareSize and setLightFlareMaxDistance so that a flare can be seen."}]}