Get OnOverlap event to only happen for one team

Hi,
I currently have a multiply player game with a turret that will shoot at any one in range, i am trying to filter the OnoverLap events so it will only run on the attacking team(1) and ignore the defending team(0) , this there a way to do this because i do not want the defending team to even appear on the list of overlapping actors,

All my Character are the same class AFpsCharacter and their team number is stored in their player state.

Thanks

You can try ActorHasTag check on the overlap event and then set the tags for each team at start so then if the player has the tag for the attacking team they get attacked but if they have the defending team tag they don’t.