GetClassification - Weather

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Weather Script

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

Syntax[edit | edit source]

int function GetClassification() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

Notes[edit | edit source]

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 Also[edit | edit source]