Jump to content

Find incoming weather?


Recommended Posts

I know there's a function GetOutgoingWeather, but is there a way to tell what weather is coming next?

 

Edit: I mean find the next queued weather before it actually starts transitioning in.

Edited by Pananacakes
Link to comment
Share on other sites

Example for Weather.GetCurrentWeatherTransition() from the kit site ...

 

float curTransition = Weather.GetCurrentWeatherTransition()

if (curTransition == 1.0)
Debug.Trace("Weather is not transitioning!")
else
Debug.Trace("Weather is transitioning and is " + (curTransition * 100) + "% done")
endIf

 

Don't look like it would be to hard to use this in a continuous loop set up firing every 10 seconds or so.

Add a Global and Weather.GetCurrentWeather and you should be able to know what's coming while it's coming (before you can tell in game).

As far as to know before hand, It don't look like the game even knows that. All happens with a random pick then slowly fades in.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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