{"name":"setLightnings","title":"setLightnings","type":"command","url":"https://community.bistudio.com/wiki/setLightnings","revid":349843,"updated":"2023-11-20T22:10:39Z","groups":["Environment"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","description":"Changes the lightnings value smoothly during the given time (in seconds). A time of zero means there will be an immediate change.\n\n**NOTE**: This command will have no effect (even though the value of lightnings changes) unless `Manual Override` option is selected in the editor in the Intel, which is normally off.","syntaxes":[{"syntax":"time setLightnings value","params":[{"name":"time","type":"Number","type_expr":"Number"},{"name":"value","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"time"},"right":{"text":"value"}}],"examples":[{"code":["1800 setLightnings 0.7;"]}],"see_also":["lightnings","overcast","setWaves"]}