Jump to content

[LE] Register for updates - how can you set a timer that's paused while you wait?


Recommended Posts

The wiki says that RegisterForUpdate() does not count the time you spend in a menu.

Now does waiting or sleeping count as a menu?

Because when I set a timer for RegisterForSingleUpdateGameTime() and wait, it immediately updates when I'm done waiting!

 

 

 

Both of them are paused during a menu (which includes waiting and sleeping, yes). Once you exit a menu, UpdateGameTime will check to see if the game time has advanced enough to trigger it, and will fire if so, but as far as Update is concerned time spent in menus doesn't exist.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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