IsPCSleeping
Revision as of 13:10, 8 May 2007 by imported>Earendel (The main potential use of this function will not work. Supplied an alternative.)
Returns 1 if the player is currently sleeping.
Object scripts are not run while the PC is sleeping, so (If IsPCSleeping == 1) will not work in normal game mode. To run an object script while the PC is sleeping use MenuMode 1012.