Adding NPC animations

How to add NPC animations.