GetClassification - Weather
Member of: Weather Script
Gets this weather's classification, as specified in the editor.
int function GetClassification() native
- -1: No classification
- 0: Pleasant
- 1: Cloudy
- 2: Rainy
- 3: Snow
; See if the weather is cloudy if SomeWeather.GetClassification() == 1 DebugTrace("Some weather is cloudy") endIf
The weather settings which correspond to these values can be found on the Precipitation tab in the Weather Dialog in the Creation Kit (under "Weather Classification").