Thanks for reading and helping. I’m building an attack, the montages play fine and registers damage but when I attack, the Sphere Trace hits on every single frame it overlaps with my target. I’ve read some other posts about this but they all say to add a Do Once node, and that works to stop the additional hits but then the trace doesn’t resume on the next animation montage. Below is a screenshot of the initial blueprint setup that causes multiple hits on each swing. The 2nd is the Do Once logic I added that won’t resume the trace on additional attacks. Please help.
whats calling the function? you probably need another function say BeginAttack/EndAttack and thats where you can track/reset HitActors so you dont repeatedly hit them
Hmmm… I made this with a continuous trace in mind, different than the mechanic I believe you’re going for. But then if it’s already momentary, how could you even get multiple hits in the first place
Oh wait I got it ok, it’s for the duration of the montage yeah dunno why I confused myself so much. So yeah you’ll also need to reset the Do Once node once the attack input is no longer. (But if in the first frame it’s already impossible to get a hit then you can leave it as it is )
So I tried the Do Once node after the sphere trace as you show above but it still runs the trace during the entire montage, even if I change it to First Frame.