I'm not sure what to call it ^.

But I want to make an npc run on a loop like the museum in runescape.

so for instance, he walks to a certain tile, does an anim, walks to another tile, does an anim, walks back to the original tile, does an anim, and it loops from there.

where do I even start?