Hey,
The correct way to do this in my opinion is to create a grid behind your player evenly spaced and give each AI a point on this grid to follow. It is like your player is the ‘commander’ of the AI’s in some other games.
You could even calculate this grid on runtime based on how many AI’s are following the player.
This grid could exist only as xyz-locations or as invisible ‘Actors’.
Good luck!
Elias