{"name":"rain","title":"rain","type":"command","url":"https://community.bistudio.com/wiki/rain","revid":348549,"updated":"2023-11-08T13:10:02Z","groups":["Environment"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","description":"Returns the current value of rain density.","syntaxes":[{"syntax":"rain","params":[],"returns":{"type":"Number","type_expr":"Number","description":"in range 0..1","text":"Number in range 0..1"},"form":"nullary"}],"examples":[{"code":["_rainLevel = rain;"]}],"multiplayer":"Pre-Arma 3, each client and the server could have different rain values. Since Arma 3 the value is synced over network.","see_also":["setRain","fog"]}