Difference between revisions of "PushEnvironmentWeatherOverride"
From Nomad DB
(Created page with "Starts the specified weather preset within the specified fade duration. == Syntax == <syntaxhighlight lang="lua"> PushEnvironmentWeatherOverride(weatherPreset, fadeIn) </synt...") |
(No difference)
|
Revision as of 18:50, 16 April 2020
Starts the specified weather preset within the specified fade duration.
Syntax
PushEnvironmentWeatherOverride(weatherPreset, fadeIn)
- weatherPreset (string): The weather preset to be started (corresponds to an item in the WeatherPreset library)
- fadeIn (number): The number of seconds it takes for the specified weather to fade in
Example
Starts a very foggy weather preset within 3 seconds.
PushEnvironmentWeatherOverride("WeatherPreset.9223372056453997549", 3)