GetSleeping

Revision as of 10:34, 20 June 2008 by imported>Vswe (Added Search Terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.