Difference between revisions of "IsPCSleeping"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Earendel
(The main potential use of this function will not work. Supplied an alternative.)
imported>JT
Line 1: Line 1:
Returns 1 if the player is currently sleeping.
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.


[[Category: Functions]]
[[Category: Functions]]
[[Category: Player Functions]]
[[Category: Player Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]

Revision as of 19:26, 8 May 2007

Returns 1 if the player is currently sleeping.