Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
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:
1
ws = Game.GetWeatherSystem()
Copied!

Sub-functions

GetRainIntensity

GetRainIntensity
Info & Usage
1
GetRainIntensity() : Float;
Copied!

GetRainIntensityType

GetRainIntensityType
Info & Usage
1
GetRainIntensityType() : worldRainIntensity;
Copied!

GetRainMoisture

GetRainMoisture
Info & Usage
1
GetRainMoisture() : Float;
Copied!

GetRainPuddles

GetRainPuddles
Info & Usage
1
GetRainPuddles() : Float;
Copied!

RegisterWeatherListener

RegisterWeatherListener
Info & Usage
1
RegisterWeatherListener(callback : ref:WeatherScriptListener) : Uint32;
Copied!

UnregisterWeatherListener

UnregisterWeatherListener
Info & Usage
1
UnregisterWeatherListener(callbackId : Uint32);
Copied!
Last modified 8mo ago