IsInFurnitureState

Revision as of 08:24, 7 July 2014 by imported>SureAI-Nicolas
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


SyntaxEdit

 ActorID.IsInFurnitureState

Return ValueEdit

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

  • Lay
  • Lean
  • Sit

NotesEdit

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 AlsoEdit