Dijkstra's algorithm was flowing through my veins in this one. I could FEEL it!
I had to google this one haha. Yeah, we implemented some pathfinding to find the shortest path. But we also created a script that makes the enemies take slightly different routes so they don't gather together that much.