How do I reference a variable from an unkown blueprint?

It’s easier if you let the enemies do the damage to the character with ApplyDamage.

But if you do want to do it this way, you need to cast to each enemy in turn until you get a match.

Unless, you have a generic enemy class containing all the variables, which you make child classes from. Then you only need to cast to the parent class.

Okay so I have multiple types of enemies, and i want the different ones to give different amounts of damage. I want to have a damage variable in each blueprint that is accessed from my FirstPersonCharacter. However, I can’t cast because I have no way of knowing beforehand which type of enemy it is.