TheXXI Posted September 11 Share Posted September 11 I need to check that the region is winter. I use this code: if Weather.FindWeather(3).GetClassification() == 3 ;some code EndIf Is this correct? Will this work in all snowy regions? Link to comment Share on other sites More sharing options...
dylbill Posted September 13 Share Posted September 13 I think you can do: if Weather.FindWeather(3) Endif It will find a snowy weather in the current region if it exists. 1 Link to comment Share on other sites More sharing options...
PeterMartyr Posted September 13 Share Posted September 13 I just want to point out weather is not seasons or regions, you could on top on snowy mountain in the most northern part of skyrim, in the middle of winter, and if it is blue skies and sunny, well it is a beautiful sunny winter day ; Gets this weather's classification ; -1 - No classification ; 0 - Pleasant ; 1 - Cloudy ; 2 - Rainy ; 3 - Snow int function GetClassification() native String Function testCode() int weatherType = Weather.GetCurrentWeather().GetClassification() If weatherType == 0 return "Pleasant" ElseIf weatherType == 1 return "Cloudy" ElseIf weatherType == 2 return "Rainy" ElseIf weatherType == 3 return "Snow" Else ; -1 - No classification Return "" EndIf EndFunction I would do some tests with above to see what happens, in Snowy Regions in different Weather... but maybe a Worldspace Formlist with snowy regions might be a better option then checking current location, or a combination of the two 1 Link to comment Share on other sites More sharing options...
Recommended Posts