Go through a nearby door if appropriate.
Go through a nearby door if appropriate. This will be done if the door is unlocked and the area the door leads to contains a waypoint with a tag of either NW_TAVERN or NW_SHOP.
If a call to GetAnimationCondition() returns that the object is already in an inside area, this function will stop. This is to keep the object from going so deep inside a building that they never get out.
#include " x0_i0_anims "
author: Baragg, editor: Mistress