Difference between revisions of "GetSleeping"
Jump to navigation
Jump to search
imported>SJML Bot (Bot creating condition functions pages.) |
imported>Catwheezle (Added "see also" section.) |
||
Line 1: | Line 1: | ||
== Syntax == | |||
ActorID.GetSleeping | ActorID.GetSleeping | ||
== Return Value == | |||
The actor's current sleep state. | |||
*0 - Not sleeping | |||
*1 - Loading sleeping idle | |||
*2 - Getting ready to sleep | |||
*3 - Is sleeping | |||
*4 - Getting ready to wake up | |||
== Notes == | |||
* This will not work on the player, as it is based on the actor's animation state. Use [[IsPCSleeping]] instead. | |||
[[ | == See Also == | ||
*[[Actor Script]] | |||
*[[GetSleepState - Actor]] | |||
*[[IsPCSleeping]] |
Revision as of 18:43, 14 February 2012
Syntax
ActorID.GetSleeping
Return Value
The actor's current sleep state.
- 0 - Not sleeping
- 1 - Loading sleeping idle
- 2 - Getting ready to sleep
- 3 - Is sleeping
- 4 - Getting ready to wake up
Notes
- This will not work on the player, as it is based on the actor's animation state. Use IsPCSleeping instead.