Event any damage not working.

Hey guys, so I’ve spend quite a while trying to get a projectile to destroy an enemy pawn based on damage but I’m stuck on getting the enemy pawn to receive the damage.
Here’s the blue print for the projectile:

https://farm4.staticflickr.com/3784/13389758554_0a6af8fc03_o.jpg

And here’s the blueprint for the enemy that should be accepting the damage:

https://farm3.staticflickr.com/2829/13389758764_3c8e473d86_o.jpg

The projectile seems to be working. I’ve used breakpoints on every part of it and it all works perfectly.
But when I add a break point to “event any damage” it never goes off. I’m not sure why? Does anyone have any ideas as to why this is happening? I really appreciate any help.

1 Like

I ended up figuring it out. I had to set the collision preset to “Pawn”

I have this same problem, but setting the collision preset didn’t help no matter what I changed it to.

And it’s doing damage. Damage amount is not 0

I realise this is an old post but for anyone wondering, you might need to make sure your Blueprint has “Can be Damaged” checked in your class defaults details panel.

2 Likes

thank for saving my life

1 Like

I’m actually so mad that worked. I’ve been tearing my hair out for 7 hours trying to figure this out, and its just a collision preset. Coding is so finicky.

I just encountered an example of this where almost nothing worked right, including changing the collision presets or even custom collision channels which is normally the sure fix. I ended up applying point damage to the object that I apply the physics material to. In this case it is metal itself

For anyone else with this problem, it looks like the event doesn’t get sent if the damage delt is zero. I was confused because the receiving actor wasn’t receiving the event at all but once I changed the damage delt to non zero it worked.