{"name":"rainParams","title":"rainParams","type":"command","url":"https://community.bistudio.com/wiki/rainParams","revid":377674,"updated":"2026-01-02T09:02:36Z","groups":["Environment"],"status":"ok","games":{"arma3":"2.08"},"since":"arma3 2.08","arma3_since":"2.08","description":"Returns currently set RainParticles params, custom or default.","syntaxes":[{"syntax":"rainParams","params":[],"returns":{"type":"Array","type_expr":"Array","description":"with [rainDropTexture, texDropCount, minRainDensity, effectRadius, windCoef, dropSpeed, rndSpeed, rndDir, dropWidth, dropHeight, dropColor, lumSunFront, lumSunBack, refractCoef, refractSaturation, snow, dropColorStrong]\n- 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\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"}],"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.","see_also":["setRain","fogParams","overcast","humidity","wind","forceWeatherChange"]}