PopEnvironmentWeatherOverride

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

Stops the specified weather preset within the specified fade duration.

Syntax

PopEnvironmentWeatherOverride(weatherPreset, fadeOut)
  • weatherPreset (string): ID of the weather preset to be stopped (corresponds to an item in the WeatherPreset library)
  • fadeOut (number): Number of seconds it takes for the specified weather to fade out

Example

Stops a very foggy weather preset within 3 seconds.

PopEnvironmentWeatherOverride("WeatherPreset.9223372056453997549", 3)

Related Pages