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.
Syntax
Section titled “Syntax”SetRain(intensity)| Parameter | Type | |
|---|---|---|
intensity |
number | 0 .. 1; -1 = off, the weather decides |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”SetWeather("storm", 5)SetRain(1)See also
Section titled “See also”GetRain · SetWeather · the The world - clock, weather, terrain, the navmesh, the geometry group of the index
