Hello.
I want my NPC to show the player the way and waiting for him if he strays too far from it.
I know how to move an AI to a destination but I don’t know how to create the function that waits for the player.
Can someone help me or direct me on the right path ?