Can't get Weapon to deal damage

Hi, I’ve designed a weapon and set up a Blueprint, but the weapon doesn’t seem to be dealing any damage.

Any help would be much appreciated.

hi man , put in some print() and let me know if the event get fired.
If the ““IF”” get fired and result true or false.

Hello,

Thanks for getting back.

I did what you asked, and it is printing, so the hit is registering. Now, what would I do next in order to get the character to despawn upon hit?

Thanks.

Hi man , i made right now some tests, look like you have to set the value of the damage. “the base damage”.
If you keep it to 0.0 it does not work.

Hello,

I have set the value of ‘Base Damage’ to 1.0, but it still doesn’t seem to be working.

Would this have to do with the enemy’s BP being set up so basically?

Try doing the damage type processing in the “receiving” object, not the “giving” object. I’m using this BP and it works great.

Try some test , here my working sample, Both the blueprints have the generate hit “on”.
And the sphere is physics.
Try to esclude everything not needed.

You are a lifesaver. This is perfect. Thank you very much.

Now that this is working, would it be possible to set up a multiple hit event? Say for example 3 hits would kill the player.

Sure, its a very basic implementation of variables.
Add a variable …think carefully if you only need 3 hit from any . Or maybe your 3 hit life can be be smashed down by a power hit. Or dont.
You could add a int and set i to 3 as default.
When the hit event get fired. You check the value of life… if is >0 you can decrease(-1) … if is == 0 you call the death event or destroy.
(Remember to hit the accept this answer :stuck_out_tongue: )