GetSleeping

From the Oblivion ConstructionSet Wiki
Revision as of 11:13, 8 February 2006 by 10.0.1.94 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

 ActorID.GetSleeping

Returns a value based on the actor's current sleeping state:

0 - Not sleeping
1 - Loading sleeping idle
2 - Getting ready to sleep
3 - Is sleeping
4 - Getting ready to wake up

NOTE: This will not work on the player, as it is based on the actor's animation state. Use IsPCSleeping instead.