What did I miss trying to get damage to my character?

image_2024-05-29_214804450



image

I followed the guide, but when I touch damage zone, It gives me 100 hp every time

Hey @STARTERRAR , welcome to the forum!

Make sure the damage is > 0. You currently have 2 separate bindings to OnTakeAnyDamage. The one in Blueprint is always called regardless of the C++ check for “Damage <= 0 ? return;”.

The shown code looks right, so maybe it is the damage zone that is dealing 0 damage always.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.