Difference between revisions of "GetSitState - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Henning
(Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Actor Script Gets this actor's sit state. == Syntax == <source lang="papyrus"> int Function GetSitState() nativ…')
 
imported>DayDreamer
(→‎See Also: conditions)
 
Line 32: Line 32:
== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]
*[[GetSitting]]
*[[IsOnMount - Actor]]
*[[IsRidingMount]]

Latest revision as of 00:12, 2 September 2013

Member of: Actor Script

Gets this actor's sit state.

Syntax[edit | edit source]

int Function GetSitState() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The actor's current sit state.

The following values are returned:

  • 4: Sitting, wants to stand
  • 3: Sitting
  • 2: Not sitting, wants to sit
  • 0: Not sitting

Examples[edit | edit source]

; Is the actor sitting?
if (Sleepy.GetSitState() != 0)
  Debug.Trace("Sleepy is sitting (or wants to sit, or wants to get up)!")
endIf

See Also[edit | edit source]