Difference between revisions of "GetSleeping"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
 
imported>JOG
Line 14: Line 14:
[[Category: Actor State Functions]]
[[Category: Actor State Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
[[Category: Actor Functions]]

Revision as of 16:26, 2 July 2006

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.