{"name":"setWaves","operator":null,"title":"setWaves","type":"command","url":"https://community.bistudio.com/wiki/setWaves","revid":349863,"updated":"2023-11-20T22:10:45Z","groups":["Environment"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma3","name":"Arma 3","version":"0.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"time","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"time: Number"},{"name":"value","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"value: Number"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"time","types":["Number"]},"right":{"text":"value","types":["Number"]}}],"examples":[{"text":"```sqf\n180 setWaves .5;\n```","code":["180 setWaves .5;"]},{"text":"```sqf\n0 setWaves 1;\n```","code":["0 setWaves 1;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["waves","fog","overcast","setLightnings"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Environment","Introduced with Arma 3 version 0.50","Scripting Commands","Scripting Commands: Local Effect"]}