IsInFurnitureState
Revision as of 08:24, 7 July 2014 by imported>SureAI-Nicolas
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