TangerineDog Posted October 2, 2017 Share Posted October 2, 2017 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! Link to comment Share on other sites More sharing options...
foamyesque Posted October 2, 2017 Share Posted October 2, 2017 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 More sharing options...
TangerineDog Posted October 2, 2017 Author Share Posted October 2, 2017 So GameTime will look at in game time, but RegisterForUpdate() will see how much real life time was spent outside of menus? Link to comment Share on other sites More sharing options...
cdcooley Posted October 3, 2017 Share Posted October 3, 2017 RegisterForUpdate is measuring real-world time while not in a time-freezing menu (inventory, favorites, journal, etc.). So it's the one you want based on the thread title. Link to comment Share on other sites More sharing options...
Recommended Posts