AI Groups

It might be an idea to look into GOAP(Goal Orientated Action Planning)