Side NPC character to follow main character after text

I want a side NPC character to follow the main character right behind it once i get to level 5.

Click here for the game. Help is appreciated. Thanks all.

1 Like

Here is a great example that rcreger made.


Not sure if its what you’re looking for, but it seems pretty accurate.
1 Like

Put this into your Npc and then set the extracters to extract the players position. Make the B value for the expression around 50-70 depending on how close you want it.

2 Likes

Thanks for the help everyone!


If you do this instead it’ll follow the player smoothly :slight_smile:

the globals are just the players x and y positions

1 Like