Getting AI to Swarm Around the player

I don’t know if there is a magic mode in unreal, what I do is create a squad controller that has the npcs in an array to control that only one is attacking.