Hi, if you want to make the AI perception filter between hostile, neutral and friendly, then you need C++. The interface to retrieve the team and the function that returns the state (hostile, neutral, friendly) between actors are not exposed to blueprints, therefore it is not possible to do it in blueprints. This here describes what you need to do step by step How do I use the AI Perception Teams? - C++ Programming - Unreal Engine Forums
As a blueprint only “workaround” you could just let the AI perception system detect everything (hostile neutral and friendly), then write your own team system in blueprints and use that to filter between hostile, neutral and friendly.