Difference between revisions of "SetWeather"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Gamall
(Id's)
imported>Gamall
m (space)
Line 9: Line 9:


If the optional WeatherOverrideFlag is set to 1, the weather will remain in the specified weather until the [[ReleaseWeatherOverride]] command is used.
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.
The available WeatherID can be found under World/Weather. See [[ForceWeather]] for a list.

Revision as of 12:19, 16 July 2006

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