Difference between revisions of "SetWeather"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>XzCamoLegend |
||
Line 1: | Line 1: | ||
{{Function | |||
|CSWikiPage = SetWeather | |||
|origin = GECK1 | |||
|summary = 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]] | |||
|name = SetWeather | |||
|alias = SetWeather | |||
|returnType = void | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = WeatherID | |||
|Type = ref | |||
}}{{FunctionArgument | |||
|Name = WeatherOverrideFlag | |||
|Type = int (optional) | |||
|Value = 0, 1 | |||
|Optional = y | |||
}} | |||
|example = SetWeather MegatonCloudy01 | |||
SetWeather WastelandClear 1 | |||
sw rCurrentWeather | |||
}} | |||
==See Also== | |||
*[[ReleaseWeatherOverride]] | |||
*[[ForceWeather]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | [[Category:Functions (GECK 1.1)]] | ||
<!-- Begin Search Terms | |||
Force | |||
Weather | |||
End Search Terms --> |
Revision as of 20:46, 14 January 2017
< [[::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:
SetWeather WeatherID:ref WeatherOverrideFlag:int (optional){0, 1}
Example
SetWeather MegatonCloudy01 SetWeather WastelandClear 1 sw rCurrentWeather
See Also