Difference between revisions of "GetSleeping"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-Link to TES4 Construction Set Wiki +{{Incomplete}}\n\nLink to TES4 Construction Set Wiki))
imported>PoHa!
m (forgot bullet points)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Incomplete}}
{{Function
|CSWikiPage = GetSleeping
|origin = GECK1
|summary = Returns a value based on the actor's current sleeping state
|name = GetSleeping
|returnVal = 0, 1, 2, 3, 4
|returnType = int
|referenceType = [Actor]


Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetSleeping GetSleeping].
|example = <pre>BuddyRef.GetSleeping</pre>
Will return Buddy's current sleeping state
}}
 
==Notes==
*This will return one of the following values, based upon the NPC's state:
<pre>
    0 - Not sleeping
    1 - Loading sleeping idle
    2 - Getting ready to sleep
    3 - Is sleeping
    4 - Getting ready to wake up
</pre>
*This will NOT work on the player. Use [[IsPCSleeping]] instead.
 
==See Also==
*[[IsPCSleeping]]
*[[GetSitting]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]
[[Category:Actor Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions (GECK 1.1)]]

Latest revision as of 19:46, 7 February 2010

< [[::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

[help]
(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

See Also