Agents keep fighting each other

Why the Agents keep fighting each other, even if I choose to play as a team for both agents and choose the index 0 for team. (Or even if I disable the deathmatch component?
I want them to play this death match as a team against the main character, and\or let each single agent patrols an area and fight against the main character only.
 
Are you using the Deathmatch AI Kit tree? If so I'll move your post.

For the Deathmatch AI Kit you'll need to specify which agents to attack based on the layer mask. This is set on the DeathmatchManager.
 
Top