Robinsage Posted February 26, 2013 Share Posted February 26, 2013 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 More sharing options...
Robinsage Posted February 27, 2013 Author Share Posted February 27, 2013 For the record I placed an 'OnEquip' script on a ring that has a weather ID string that gives the current weather form in decimal form. A quick conversion to a hexadecimal format gives the weather form ID. Let me know if interested and I'll share the code. =) Link to comment Share on other sites More sharing options...
EnaiSiaion Posted February 27, 2013 Share Posted February 27, 2013 I'm not sure what you mean and why Debug.Notification(Weather.GetCurrentWeather()) doesn't work? (Sorry, haven't looked into weathers yet) Link to comment Share on other sites More sharing options...
Robinsage Posted February 27, 2013 Author Share Posted February 27, 2013 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 More sharing options...
Recommended Posts