Jump to content

Identify Weather


Robinsage

Recommended Posts

Good morning everyone!

 

Is there a script (or console command) that will identify and display the current local weather that's in effect, either by form ID or editor ID?

 

I know script can ID the weather but getting it to display in a debug message on command is escaping me. Any suggestions?

 

thanks :)

Link to comment
Share on other sites

It does to an extent but renders the results incorrectly so the string needs to be tied to the variable. And it needs to be placed on an equippable item (or spell, shout, etc.) for it to work 'on demand'. This is how it worked out, works like a charm.

Event OnEquipped(Actor akActor)
If akActor == Game.GetPlayer()
String CurrentWeather = Weather.GetCurrentWeather().GetFormID()
Debug.notification("Current weather hex ID is " + (CurrentWeather))
EndIf
EndEvent
Link to comment
Share on other sites

  • Recently Browsing   0 members

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