# How to take damage from incoming triggerbox

**URL:** <https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820>\
**Category:** Blueprint\
**Tags:** damage-sense, unreal-engine, UE4, Blueprint, question\
**Created:** [September 23, 2019, 10:19am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820 "2019-09-23T10:19:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 23, 2019, 10:19am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/1 "2019-09-23T10:19:35Z")

</div>

![288159-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/c/edc226304da65f821b01a7bc1b2e2f1f341b5bad.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 23, 2019, 10:38am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/2 "2019-09-23T10:38:10Z")

</div>

Like this:

 ![288163-levelbp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/f/c2ff94717d950f89c99e830a839b737a0700be1d.jpeg)

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 23, 2019, 4:57pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/3 "2019-09-23T16:57:54Z")

</div>

where do you apply this blueprint?

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 23, 2019, 4:58pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/4 "2019-09-23T16:58:56Z")

</div>

first-person character or different

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 23, 2019, 5:39pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/5 "2019-09-23T17:39:03Z")

</div>

Sorry, not getting notifications by email for some reason. This is level BP. Describe the situation if you need it somewhere else…

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 24, 2019, 10:38am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/6 "2019-09-24T10:38:15Z")

</div>

see this is all my blueprints. so where should I use health blueprints to take damage from that trigger box

 ![288240-widgethub.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/9/5e9c806c3eeda4f5fbcc8b44639d4816f894d3ba.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 24, 2019, 11:46am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/7 "2019-09-24T11:46:59Z")

</div>

So, in box.png put a 3rd pin on the sequence and hook it up to an apply damage node like in my BP 🙂

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 25, 2019, 8:31am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/8 "2019-09-25T08:31:47Z")

</div>

ok I will put and contact you soon thanx for your help buddy

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 25, 2019, 2:38pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/9 "2019-09-25T14:38:35Z")

</div>

still not working sir, please help

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 25, 2019, 5:16pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/10 "2019-09-25T17:16:53Z")

</div>

Like this:

 ![288367-cube.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/1/ae10657314ae147a21e036d3f96b95fdf0046e64.jpeg)

( notice I have OnOverlap, not OnHit… )

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 26, 2019, 11:28am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/11 "2019-09-26T11:28:41Z")

</div>

how you selected these

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 26, 2019, 11:37am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/12 "2019-09-26T11:37:41Z")

</div>

In the blueprint, right click on the cube component. On the menu is ‘Add event’, then you can choose overlap.

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 27, 2019, 12:18pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/13 "2019-09-27T12:18:50Z")

</div>

I don’t know it is working or not but my health bar is not decreasing even after box hit the player  
and by the way, that box is not in the same position its head towards the player in every 0.5 sec like the bullet

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 27, 2019, 6:51pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/14 "2019-09-27T18:51:02Z")

</div>

No, that’s your evil cube… you’re making one every half a second ( unless you’ve changed your BPs ).

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 28, 2019, 8:13am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/15 "2019-09-28T08:13:13Z")

</div>

yeah I know I make the evil cube to head towards me  
can I have your email so that I can send you a video by watching the video you can surely understand what I want

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 28, 2019, 11:01am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/16 "2019-09-28T11:01:09Z")

</div>

You can upload a gif.

Everything looks fine in your BPs apart from the triggerbox BP. You are spawning an evil cube every .5 second! Just get rid of all that BP and actually just PUT one evil cube BP in the level before you begin.

I will send a link to a small project which causes damage on overlap.

Are you using 4.22 or 4.23?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 28, 2019, 11:31am UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/17 "2019-09-28T11:31:50Z")

</div>

Try this:

[https://drive.google.com/open?id=14EANQFNqn7ffTnFsJICdIjLWPEIaEikC](https://drive.google.com/open?id=14EANQFNqn7ffTnFsJICdIjLWPEIaEikC)

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 28, 2019, 4:51pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/18 "2019-09-28T16:51:52Z")

</div>

I am using 4.23  
can I send my project to you can you do for me

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 28, 2019, 4:58pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/19 "2019-09-28T16:58:27Z")

</div>

I sent you one - see the link below… 🙂

---

<div class="post-metadata">

**Author:** ![patty121343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patty121343](https://forums.unrealengine.com/u/patty121343)\
**Post date:** [September 28, 2019, 5:25pm UTC](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820/20 "2019-09-28T17:25:26Z")

</div>

yeah I saw it I even open your project but my project is different in my case box are attacking me and your project box is unmovable it’s  
in same position wait, I am sending you the game video

[Next page](https://forums.unrealengine.com/t/how-to-take-damage-from-incoming-triggerbox/455820.md?page=2)
