# Character dies on 3rd hit instead of 2nd hit

**URL:** <https://forums.unrealengine.com/t/character-dies-on-3rd-hit-instead-of-2nd-hit/371381>\
**Category:** FX\
**Tags:** health, unreal-engine, Collision, UE4, question, Blueprint\
**Created:** [September 23, 2016, 9:36am UTC](https://forums.unrealengine.com/t/character-dies-on-3rd-hit-instead-of-2nd-hit/371381 "2016-09-23T09:36:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_87cfa512](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_87cfa512](https://forums.unrealengine.com/u/anonymous_user_87cfa512)\
**Post date:** [September 23, 2016, 9:36am UTC](https://forums.unrealengine.com/t/character-dies-on-3rd-hit-instead-of-2nd-hit/371381/1 "2016-09-23T09:36:32Z")

</div>

Hey everyone,

```
 I'm having some trouble with my getting my character to die when he runs through a particle system (an electric current). He is able to run through it the first time, which is what I want, but for some reason the second time he runs through the collision box, He doesn't die. When running through the third time though, my character dies. The project is an endless runner. I used the same set up for another blocker which works fine, the only difference I can think of is the electric current BP starts with On Component Begin overlap, while the BP for the blocker starts with On Component hit. When i use On Component Hit for the electric current, nothing happens. I uploaded some screenshots, if anyone could help me.

```

thanks 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_87cfa512](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_87cfa512](https://forums.unrealengine.com/u/anonymous_user_87cfa512)\
**Post date:** [September 23, 2016, 9:38am UTC](https://forums.unrealengine.com/t/character-dies-on-3rd-hit-instead-of-2nd-hit/371381/2 "2016-09-23T09:38:01Z")

</div>

sorry I wrote the message where code is suppsoed to be by accident.

---

<div class="post-metadata">

**Author:** ![Speckulous](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Speckulous](https://forums.unrealengine.com/u/Speckulous)\
**Post date:** [September 23, 2016, 9:43am UTC](https://forums.unrealengine.com/t/character-dies-on-3rd-hit-instead-of-2nd-hit/371381/3 "2016-09-23T09:43:46Z")

</div>

is your Character Health 100?  
Don’t only use the “\<” pin in “Compare Float” But also the “==” pin

---

<div class="post-metadata">

**Author:** ![fabianu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fabianu](https://forums.unrealengine.com/u/fabianu)\
**Post date:** [September 23, 2016, 9:43am UTC](https://forums.unrealengine.com/t/character-dies-on-3rd-hit-instead-of-2nd-hit/371381/4 "2016-09-23T09:43:57Z")

</div>

Please refactor the question to make it readable.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_87cfa512](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_87cfa512](https://forums.unrealengine.com/u/anonymous_user_87cfa512)\
**Post date:** [September 23, 2016, 9:47am UTC](https://forums.unrealengine.com/t/character-dies-on-3rd-hit-instead-of-2nd-hit/371381/5 "2016-09-23T09:47:17Z")

</div>

Wow thank you very much, I didn’t even think of using the “==” pin.
