{"name":"setWaves","title":"setWaves","type":"command","url":"https://community.bistudio.com/wiki/setWaves","revid":349863,"updated":"2023-11-20T22:10:45Z","groups":["Environment"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","locality":{"effect":"local"},"description":"Changes the waves 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 waves changes) unless `Manual Override` option is selected in the editor in the Intel, which is normally off.","syntaxes":[{"syntax":"time setWaves 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":["180 setWaves .5;"]},{"code":["0 setWaves 1;"]}],"see_also":["waves","fog","overcast","setLightnings"]}