make an array of type actor reference in your character with references to all the enemies at begin play, either by making each enemy “add” self by casting or maybe as a temporary solution use a get all actors of type node if you only have one actor type atm.
do a foreach loop using that array.
Inside that loop make a branch and check the distance to the actor, (location - location < the distance you want), if true make a linetrace to that actor from you player character, if the trace returns the same actor as you are checking in your loop atm, (drag a node from the loop actor ref = it to the actor hit from the trace), then cast to that actor and run a function in it displaying its name.
Im at work atm, so I could possibly make a graph when I get home, hope that helped.