GetSleeping


SyntaxEdit

 ActorID.GetSleeping

Return ValueEdit

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

NotesEdit

  • This will return the player's sleeping animation state as well, which is not normally used. If you are trying to determine if the player is sleeping by using a bed or similar, use IsPCSleeping instead.

See AlsoEdit