GetSleeping
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: GetSleeping.
A function included in the GECK version 1.1.0.36.
Description
Returns a value based on the actor's current sleeping state
Syntax
(0, 1, 2, 3, 4:int) [Actor].GetSleeping
Example
BuddyRef.GetSleeping
Will return Buddy's current sleeping state
Notes
- This will return one of the following values, based upon the NPC's state:
0 - Not sleeping 1 - Loading sleeping idle 2 - Getting ready to sleep 3 - Is sleeping 4 - Getting ready to wake up
- This will NOT work on the player. Use IsPCSleeping instead.