Auto-translated
To be honest, I did it differently. I would set the "move" command, and immediately after that, another animation. If the creature doesn't have time to reach the desired point before the next command is executed, it quickly teleports and performs the next animation :D