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