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 and the light, and each preset brings its own rain (showers 0.5, drizzle 0.25, storm 1, the rest none; a variant its own - Weather)

  • the same amount on every client. This forces another amount; -1 hands the rain back to the weather. /rain is the built-in.
SetRain(intensity)
Parameter Type
intensity number 0 .. 1; -1 = the weather’s own rain

nothing

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

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