PushEnvironmentWeatherOverride

From Nomad DB
Revision as of 18:50, 16 April 2020 by Cobra (talk | contribs) (Created page with "Starts the specified weather preset within the specified fade duration. == Syntax == <syntaxhighlight lang="lua"> PushEnvironmentWeatherOverride(weatherPreset, fadeIn) </synt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)

Related Pages