# Apply Damage with more than 1 value at the time? Workaround

**URL:** <https://forums.unrealengine.com/t/apply-damage-with-more-than-1-value-at-the-time-workaround/440756>\
**Category:** Blueprint\
**Tags:** workaround, damage-sense, unreal-engine, UE4, Blueprint, question\
**Created:** [January 6, 2019, 6:51pm UTC](https://forums.unrealengine.com/t/apply-damage-with-more-than-1-value-at-the-time-workaround/440756 "2019-01-06T18:51:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tanaka\_Miwa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tanaka\_Miwa](https://forums.unrealengine.com/u/Tanaka_Miwa)\
**Post date:** [January 6, 2019, 6:51pm UTC](https://forums.unrealengine.com/t/apply-damage-with-more-than-1-value-at-the-time-workaround/440756/1 "2019-01-06T18:51:12Z")

</div>

Hey,  
I’m currently stuck with the Problem that I can send only one value/variable with a single call of ApplyDamage, while I Need 2-3 variables being transfered with the same cast. As an example an armor piercing attack: I would Need the Damage value as well as the amount of armor which is penetrated. Calling ApplyDamage twice wouldn’t work in this case.  
Greetings  
Miwa

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [January 6, 2019, 10:58pm UTC](https://forums.unrealengine.com/t/apply-damage-with-more-than-1-value-at-the-time-workaround/440756/2 "2019-01-06T22:58:39Z")

</div>

Make your own custom event with as many inputs and outputs as you want. Here is an example below, all inputs are custom.

![264409-custom-damage-event.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/2/9c2beb1988cd483eac800ae7c3b563a625b21b48.jpeg)

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [January 7, 2019, 12:15am UTC](https://forums.unrealengine.com/t/apply-damage-with-more-than-1-value-at-the-time-workaround/440756/3 "2019-01-07T00:15:58Z")

</div>

doing it this way i would also probably use a interface so that many classes can use the same events.

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [January 7, 2019, 12:28am UTC](https://forums.unrealengine.com/t/apply-damage-with-more-than-1-value-at-the-time-workaround/440756/4 "2019-01-07T00:28:41Z")

</div>

another idea you could try would be to use apply point damage node and just pass the pierce damage as something in the hit info such as the X in location. its not the cleanest solution but it would probably work i imagine.

 ![264417-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/a/39a247108a43b85baf92dfa19ef93402d2b02929.png)

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [January 7, 2019, 1:26am UTC](https://forums.unrealengine.com/t/apply-damage-with-more-than-1-value-at-the-time-workaround/440756/5 "2019-01-07T01:26:39Z")

</div>

Yea interfaces would be better, I was just going with something I could show quick but putting this in an interface would be ideal

---

<div class="post-metadata">

**Author:** ![Evigmae](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/evigmae/32/1187349_2.png) [@Evigmae](https://forums.unrealengine.com/u/Evigmae)\
**Post date:** [January 7, 2019, 2:06pm UTC](https://forums.unrealengine.com/t/apply-damage-with-more-than-1-value-at-the-time-workaround/440756/6 "2019-01-07T14:06:15Z")

</div>

you can just add them up before sending a single final value though, can’t you?

---

<div class="post-metadata">

**Author:** ![Tanaka\_Miwa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tanaka\_Miwa](https://forums.unrealengine.com/u/Tanaka_Miwa)\
**Post date:** [January 11, 2019, 6:33pm UTC](https://forums.unrealengine.com/t/apply-damage-with-more-than-1-value-at-the-time-workaround/440756/7 "2019-01-11T18:33:04Z")

</div>

I knew that it would be something this easy xD  
Thanks a lot for your replies
