Difference between revisions of "SetWeather"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Gamall
m (space)
imported>Haama
(CS 1.0 stuff)
Line 18: Line 18:


[[ReleaseWeatherOverride]]
[[ReleaseWeatherOverride]]


[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category: Weather Functions]]
[[Category: Weather Functions]]
[[Category: Weather Functions (CS 1.0)]]

Revision as of 17:59, 8 August 2007

Syntax:

SetWeather WeatherID, WeatherOverrideFlag (optional) 

Example:

SetWeather clear 
sw OblivionStormTamriel 1

Sets the weather to WeatherID. The weather will begin transitioning to the new weather -- the time it takes to transition is the "Trans Delta" setting on the new weather. Note that if the weather is currently transitioning, it will finish its transition before starting to transition to the new weather.


If the optional WeatherOverrideFlag is set to 1, the weather will remain in the specified weather until the ReleaseWeatherOverride command is used.


The available WeatherID can be found under World/Weather. See ForceWeather for a list.


See Also

ForceWeather

ReleaseWeatherOverride