Talk:IsPCSleeping

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Re: Earendel

Sleeping does of course only happen in MenuMode (you don't need to run it in MenuMode 1012... just plain MenuMode also works fine), as does resting, enchanting, etc. Make sure you're keenly aware of the difference between MenuMode, when time is not passing (except when IsTimePassing returns true) and GameMode, when the player is freely able to control his character (unless DisablePlayerControls was triggered). Think of GameMode as less like a "Main" function and more like a wrapper for the part of gameplay where the player is concerned about the 3D environment. --JT 20:26, 8 May 2007 (EDT)