Part 2 of Spawn NPCs video series all about teams: Define NPC teams that players can’t join. Remove that team from scoring logic and give NPCs a name! This process is useful for controlling how NPCs and their teams should affect gameplay. I can’t believe how many times I said “teams”. Game on!
https://dev.epicgames.com/community/learning/tutorials/DlrX/unreal-engine-create-teams-for-npc-ai-spawner-part-2-have-a-dedicated-team-for-npc-only