Difference between revisions of "GetSleeping"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
imported>Haama
(Category links)
Line 12: Line 12:


[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category: Actor Functions]]
[[Category: Actor Functions (CS 1.0)]]
[[Category: Actor State Functions]]
[[Category: Actor State Functions]]
[[Category: Actor State Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
[[Category: Actor Functions]]
[[Category: Condition Functions (CS 1.0)]]

Revision as of 00:21, 7 July 2007

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.