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;
-1hands the rain back to the weather./rainis the built-in.
Syntax
Section titled “Syntax”SetRain(intensity)| Parameter | Type | |
|---|---|---|
intensity |
number | 0 .. 1; -1 = the weather’s own rain |
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
