AnimActionStopInteracting()

Stop interacting with a placeable object.

void AnimActionStopInteracting();

Description

Stop interacting with a placeable object.



Remarks

Used in conjunction with AnimActionStartInteracting.

If the creature has NW_ANIM_FLAG_IS_MOBILE set as animation condition, then AnimActionRandomMoveAway is used to move the creature a maximum distance of to DISTANCE_LARGE (10.0) from oPlaceable.

The creature will then call AnimActionTurnAround to face in a random direction.

Followed by a call to AnimActionPlayRandomAnimation which will cause them to play a random animation.


Requirements

#include "x0_i0_anims"


Version

???

See Also

functions:  AnimActionRandomMoveAway | AnimActionStartInteracting | GetAnimationCondition | SetAnimationCondition
constants:  DISTANCE_*
categories:  Animation Functions


author: Baragg, editor: Mistress