{"name":"rainParams","operator":null,"title":"rainParams","type":"command","url":"https://community.bistudio.com/wiki/rainParams","revid":377674,"updated":"2026-01-02T09:02:36Z","groups":["Environment"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.08"}],"since":{"game":"arma3","name":"Arma 3","version":"2.08"},"arma3_since":"2.08","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns currently set RainParticles params, custom or default.","syntaxes":[{"syntax":"rainParams","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Array with [rainDropTexture, texDropCount, minRainDensity, effectRadius, windCoef, dropSpeed, rndSpeed, rndDir, dropWidth, dropHeight, dropColor, lumSunFront, lumSunBack, refractCoef, refractSaturation, snow, dropColorStrong]","types":["Array"],"description":"rainDropTexture: String - texDropCount: Number - minRainDensity: Number - effectRadius: Number - windCoef: Number - dropSpeed: Number - rndSpeed: Number - rndDir: Number - dropWidth: Number - dropHeight: Number - dropColor: Color (RGBA) - lumSunFront: Number - lumSunBack: Number - refractCoef: Number - refractSaturation: Number - snow: Boolean - dropColorStrong: Boolean > [!NOTE] > See RainParticles for more information.","text":"Array with [rainDropTexture, texDropCount, minRainDensity, effectRadius, windCoef, dropSpeed, rndSpeed, rndDir, dropWidth, dropHeight, dropColor, lumSunFront, lumSunBack, refractCoef, refractSaturation, snow, dropColorStrong]\n- rainDropTexture: String\n- texDropCount: Number\n- minRainDensity: Number\n- effectRadius: Number\n- windCoef: Number\n- dropSpeed: Number\n- rndSpeed: Number\n- rndDir: Number\n- dropWidth: Number\n- dropHeight: Number\n- dropColor: Color (RGBA)\n- lumSunFront: Number\n- lumSunBack: Number\n- refractCoef: Number\n- refractSaturation: Number\n- snow: Boolean\n- dropColorStrong: Boolean\n\n> [!NOTE]\n> See RainParticles for more information."},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nprivate _rainParams = rainParams;\n// or\nrainParams params [\n    \"_rainDropTexture\",\n    \"_texDropCount\",\n    \"_minRainDensity\",\n    \"_effectRadius\",\n    \"_windCoef\",\n    \"_dropSpeed\",\n    \"_rndSpeed\",\n    \"_rndDir\",\n    \"_dropWidth\",\n    \"_dropHeight\",\n    \"_dropColor\",\n    \"_lumSunFront\",\n    \"_lumSunBack\",\n    \"_refractCoef\",\n    \"_refractSaturation\",\n    \"_snow\",\n    \"_dropColorStrong\"\n];\n```","code":["private _rainParams = rainParams;\n// or\nrainParams params [\n\t\"_rainDropTexture\",\n\t\"_texDropCount\",\n\t\"_minRainDensity\",\n\t\"_effectRadius\",\n\t\"_windCoef\",\n\t\"_dropSpeed\",\n\t\"_rndSpeed\",\n\t\"_rndDir\",\n\t\"_dropWidth\",\n\t\"_dropHeight\",\n\t\"_dropColor\",\n\t\"_lumSunFront\",\n\t\"_lumSunBack\",\n\t\"_refractCoef\",\n\t\"_refractSaturation\",\n\t\"_snow\",\n\t\"_dropColorStrong\"\n];"]}],"multiplayer":"> [!IMPORTANT]\n> - Rain particle params are **local**\n> - If used on a dedicated server, this command returns an empty array.","problems":null,"aliases":[],"see_also":["setRain","fogParams","overcast","humidity","wind","forceWeatherChange"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Environment","Introduced with Arma 3 version 2.08","Scripting Commands"]}