Download

Hit-trace from Anim Notify State: How do I find the actor dealing the damage?

Hi, complete beginners question: I’m playing around with building a sword combat system. For an attack I let a character play a montage. To detect hits I’ve added a notify state to the crucial part of my attack-animation that does a sphere trace and checks if I hit something.

From that trace result I can deal damage to the actor that was hit. But I can’t think of a way to get information back to the actor that is dealing the damage/playing the animation. Lets say I want to do a “If you hit something increase health for the actor that dealt the damage” - how could I set this up?