GetClassification - Weather

Member of: Weather Script

Gets this weather's classification, as specified in the editor.

SyntaxEdit

int function GetClassification() native

ParametersEdit

None.

Return ValueEdit

  • -1: No classification
  • 0: Pleasant
  • 1: Cloudy
  • 2: Rainy
  • 3: Snow

ExamplesEdit

; See if the weather is cloudy
if SomeWeather.GetClassification() == 1
  DebugTrace("Some weather is cloudy")
endIf

NotesEdit

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").

See AlsoEdit