Difference between revisions of "IsInFurnitureState"

Jump to navigation Jump to search
522 bytes added ,  07:24, 7 July 2014
no edit summary
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]]

Navigation menu