Difference between revisions of "IsInFurnitureState"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
imported>SureAI-Nicolas
 
Line 1: Line 1:
[[Category:Condition Functions]]
== Syntax ==
  ActorID.IsInFurnitureState
== Return Value ==


Returns 1 if the specified actor is currently in the selected furniture state.


[[Category:Condition Functions]]
*Lay
*Lean
*Sit
 
== Notes ==
 
GetSitting will never return 1, if an actor is sleeping in a bed or leaning on a wall. If you want to check whether an NPC (or the player) has entered a piece of furniture, and is currently in the Idle-animation state of this furniture, use this function
 
== See Also ==
*[[Actor Script]]
*[[GetSleepState - Actor]]
*[[IsPCSleeping]]
*[[GetSitting]]

Latest revision as of 07:24, 7 July 2014


Syntax[edit | edit source]

 ActorID.IsInFurnitureState

Return Value[edit | edit source]

Returns 1 if the specified actor is currently in the selected furniture state.

  • Lay
  • Lean
  • Sit

Notes[edit | edit source]

GetSitting will never return 1, if an actor is sleeping in a bed or leaning on a wall. If you want to check whether an NPC (or the player) has entered a piece of furniture, and is currently in the Idle-animation state of this furniture, use this function

See Also[edit | edit source]