Skip to content

SetRain

Forces rain on every client, or hands the rain back to the weather.

The rain is a lever on top of the weather profile: the profile sets the clouds, the fog, the light and its own rain probability; this forces the amount. -1 lets the profile decide again. /rain is the built-in.

SetRain(intensity)
Parameter Type
intensity number 0 .. 1; -1 = off, the weather decides

nothing

SetWeather("storm", 5)
SetRain(1)

GetRain · SetWeather · the The world - clock, weather, terrain, the navmesh, the geometry group of the index