Animation notify State - how to stop trace firing twice

HI, I’m using a AnimNotify state in order to do a line trace to determine if my sword has struck an pawn. Now this works fine, however it does have the problem that the trace is triggered a few time meaning multiple damage is inflicted.

Now I have come up with a couple of methods to prevent this happening (at present I’m using a delay so the event doesn’t trigger multiple times.) However this is very hacky.

Does anyone know of a better way?

Ed

How about using a DoOnce?:

I am afraid it woundn’t work because it might create multiple instance in the period time of notifystate. So do once wouldn’t help…