How do i create AI teams?

Hello, new to ue4 and im having trouble setting up a system in which AI attack each other.
They can attack the player fine but im not sure how to go about the AI attacking each other,
there is no clear tutorials i can find about it.

I would like to set it up in a team based system with ID’s

Any help would be greatly appreciated!

Update, so ive worked on a system and Update id system but they attack each other regardless and some just stand idle, also ignore the player. Help?

All have team id of 3

This video may be of help. He touches on how to set up team numbers in a way. Let's make an MMO in UE4 - Part 23 (PvP) - YouTube