Difference between revisions of "GetSleeping"
m
forgot bullet points
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>PoHa! m (forgot bullet points) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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] | |||
|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. | [[Category:Functions (GECK 1.1)]] | ||
[[Category:Actor State Functions]] | [[Category:Actor State Functions]] | ||
[[Category:Actor State Functions (GECK 1. | [[Category:Actor State Functions (GECK 1.1)]] | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category:Condition Functions (GECK 1. | [[Category:Condition Functions (GECK 1.1)]] | ||
[[Category:Actor Functions]] | [[Category:Actor Functions]] | ||
[[Category:Actor Functions (GECK 1. | [[Category:Actor Functions (GECK 1.1)]] |