I don't think that's possible.The only way to do that is to make the NPC your companion / pet.Or copy the code from the Companion movement to the Follow Command movement.