SetWeather
Revision as of 20:53, 14 January 2017 by imported>Gribbleshnibit8
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: SetWeather.
A function included in the GECK version 1.1.0.36.
Description
Changes weather, immediately switching to the specified weather. If OverrideWeatherFlag is 1, the weather will not change again until ReleaseWeatherOverride is called. Otherwise, the weather will change back in the normal fashion according to the weather system. Essentialy the same as ForceWeather
Syntax
SetWeather WeatherID:ref WeatherOverrideFlag:int (optional){0, 1}
Or:
sw WeatherID:ref WeatherOverrideFlag:int (optional){0, 1}
Example
SetWeather MegatonCloudy01
Sets the current weather to MegatonCloudy01, without overriding the weather change.
SetWeather WastelandClear 1
Sets the current weather to WastelandClear, but overrides so no other weather can happen until ReleaseWeatherOverride is called.
ref rCurrentWeather set rCurrentWeather to WastelandClear sw rCurrentWeather
Function alias using
See Also