Apply damage to overlapping actors being done multiple times

I cant seem to figure this out. the “AttackBox” is set to disabled on my character and when I press ‘Attack’ it gets enable, I’ve tried enabling it then disabling it instantly to see if that would fix it but I got the same results! I’m also using paper2D. Any help at all is appreciated!

This should be applying damage to each overlapping actor just once right?

Hello Qxuote,

With this set up, it seems that it’ll only damage an enemy once if only one enemy is overlapped. If multiple enemies are being overlapped, this set up with hit each of them multiple times based off how many you end up overlapping. To avoid that, you should be able to remove the Get Class, Cast to Actor Class, AttackBox, Get Overlapping Actors, and For Each Loop nodes. Just plug the Other Actor into the Damaged Actor pin on Apply Damage and plug in Damage Done for the Base Damage as you already have. This event will be called each time an actor is overlapped so each individual one should have its damage dealt individually.

Ahh so simple, works perfectly now! Guess I was trying to overcomplicate things. Thanks so much for helping me out! :smiley: