Jump to content

How do I check that the region is winter? Is FindWeather() suitable for this?


Recommended Posts

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

 

  • Like 1
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...