Ai perception how to?

So i have a minion moving by lanes and they have sight perception. And i have 4 actors they must attack and 4 friendly actors, all of them have “Team” variable, which is int from 0 to 1, so my question is How do i read this value from OnPerceptionUpdated event which returns array of all actors in sight radius. And also how do i set their priority? Thanks.