how to cast to enemy to get the name variable

but if i set select opp as an actor where am i gonna get the enemy variable name from?
and at the second point what type of node : enemy, actor, something else?