WeatherSystem

Documents the WeatherSystem class and its functions.

NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking WeatherSystem

To invoke the weather system, use the following Global function:

ws = Game.GetWeatherSystem()

Sub-functions

GetRainIntensity

GetRainIntensity() : Float;

GetRainIntensityType

GetRainIntensityType() : worldRainIntensity;

GetRainMoisture

GetRainMoisture() : Float;

GetRainPuddles

GetRainPuddles() : Float;

RegisterWeatherListener

RegisterWeatherListener(callback : ref:WeatherScriptListener) : Uint32;

UnregisterWeatherListener

UnregisterWeatherListener(callbackId : Uint32);

Last updated