GetRain
The rain override.
Syntax
Section titled “Syntax”GetRain()Returns
Section titled “Returns”number - 0 .. 1 when forced; -1 = the level’s own weather
Example
Section titled “Example”if GetRain() > 0.5 then SendClientMessage(pid, COLOUR_SERVER, "Mind the mud.") endSee also
Section titled “See also”SetRain · GetWeather · the The world - clock, weather, terrain, the navmesh, the geometry group of the index
