Difference between revisions of "PopEnvironmentWeatherOverride"

From Nomad DB
(Created page with "Stops the specified weather preset within the specified fade duration. == Syntax == <syntaxhighlight lang="lua"> PopEnvironmentWeatherOverride(weatherPreset, fadeOut) </synta...")
 
(No difference)

Latest revision as of 18:52, 16 April 2020

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