Difference between revisions of "IsPCSleeping"
Jump to navigation
Jump to search
The main potential use of this function will not work. Supplied an alternative.
imported>Maturin |
imported>Earendel (The main potential use of this function will not work. Supplied an alternative.) |
||
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]] |