How to stop player health damage OnComponentEndOverlap?
I have made a basic health system for my player that in enemy BP OnComponentOverlap we GetPlayerPawn and apply 1 Base Damage to it. I.E you your player gets attacked by bees/wasps. This works like a charm.
The problem I am having is stopping this damage after you leave the area of the bees/wasps Collision volume. I have tried OnComponentEndOverlap getting the GetPlayerPawn and setting the Base Damage to 0 but this has no effect.
So, How do I stop it constantly appling damage to the player after he leaves the collision area?
asked Nov 20 '14 at 06:51 AM in Blueprint Scripting
Can you show me what you have going on in your blueprint? I might be able to see what is happening and how to get it to do what you want.
answered Nov 20 '14 at 07:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here