Faction Based Enemy Detection?

Been trying to make a blueprint like this but instead of getting the location of the player it gets the location of any actor from an enemy faction.

Here’s the code I’ve been working on but it doesn’t seem to get anything