Switch Path Help Please

I was wanting to make some thing that would follow this enemy and then when the player gets close enough the little enemy would follow the player to a certain point then go back to the leader enemy, how would I do that?

Check if the player is within a distance and chase. If the little enemy is further than a given distance from the leader enemy, then stop chasing and head back to the leader enemy. For example (using PathFinding behaviour):

I tried what you suggested and the little enemy did not move at all.

You should get 100px near enemy

The example I gave uses pathfinding on the LittleEnemy objects.

You may want to check the distance between the LittleEnemy and the player - the example I gave may be too small for your needs, and you may need to increase it.

If it still doesn’t work, post a screen shot of your events.