GetSleeping

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns a value based on the actor's current sleeping state

Syntax

[help]
(0, 1, 2, 3, 4:int) [Actor].GetSleeping

Example

BuddyRef.GetSleeping

Will return Buddy's current sleeping state

Return Values

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. Use IsPCSleeping instead.

See Also