How to coordinate squad/team behavior in AI characters?

I am looking for tutorial/info on how to coordinate teams of AI opponents? For example, based on proximity to the player the decide to flank, charge, or range attack - and three AI characters assign different roles to each other. How do you coordinate their behavior using blueprints? I am thinking some kind of master controller? tia