Collision damage with sword

Sorry for the late response, but I noticed that no answer was checked when I came by this question. This is how mine is set up.





In the BP, I just put on Begin Overlap (that way it only does it on the first overlap and doesn’t just sit there hurting the person just touching it, otherwise you can do a Gate Setup that loops itself until OnStopOverlap. Connect the first node of Sequence to the Open node of the Gate, the connect the second node of Sequence to the Enter node of the Gate. Then connect a second Sequence to the exit of the gate. For the first pin, connect it to your damage script, then the second pin of the Sequence to a delay node (so you don’t freeze the game applying too much damage, also this is where you can decide your delay between attacks if you want). Connect this delay exit pin to the Enter of the Gate. Then, just connect the OnStopOverlap to Exit on the Gate.



Blueprint for Attack Once




Blueprint for Attack Continuous