Difference between revisions of "GetIsCurrentWeather"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JT
m (the->into)
imported>Haama
(Category links)
Line 8: Line 8:
   
   
[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions (CS 1.0)]]
[[Category: Weather Functions]]
[[Category: Weather Functions]]
[[Category: Condition Functions]]
[[Category: Weather Functions (CS 1.0)]]

Revision as of 22:55, 6 July 2007

Syntax:

GetIsCurrentWeather WeatherID 
getweather WeatherID 

Example:

GetIsCurrentWeather Thunderstorm 

Returns 1 if the current weather matches the parameter. Note that this will return true as soon as the weather starts transitioning into the specified weather (even if it isn't finished with the transition yet).