# Apply Damage Function and HUD

**URL:** <https://forums.unrealengine.com/t/apply-damage-function-and-hud/374752>\
**Category:** UI\
**Tags:** hud, apply-damage, hud-class, unreal-engine, UE4, Blueprint, question\
**Created:** [October 28, 2016, 5:41pm UTC](https://forums.unrealengine.com/t/apply-damage-function-and-hud/374752 "2016-10-28T17:41:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_60057f9e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_60057f9e](https://forums.unrealengine.com/u/anonymous_user_60057f9e)\
**Post date:** [October 28, 2016, 5:41pm UTC](https://forums.unrealengine.com/t/apply-damage-function-and-hud/374752/1 "2016-10-28T17:41:01Z")

</div>

Hello,  
I have a simple damage system for my simulator. When a character enters a fire, smoke etc and overlaps a collider the Apply Damage is activate in the PlayerCharacter bp and substracts 0.1 each time the character enters an damage causing area. The problem is that while I can see the actual value of the Health variable drop normally, the HUD progress bar does not perceive the change. When I tested a simple key press health substraction it worked perfeclty.  
Is there an issue with the cooperation of apply damage function and HUDs progress bars? Do I need to create a simpler damage implementation system I have previously created (when a character collides with a fire an event is tirggered in player character and the health drops.  
Please help and thank you in advance!

---

<div class="post-metadata">

**Author:** ![Holybreath](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Holybreath](https://forums.unrealengine.com/u/Holybreath)\
**Post date:** [October 28, 2016, 5:52pm UTC](https://forums.unrealengine.com/t/apply-damage-function-and-hud/374752/2 "2016-10-28T17:52:26Z")

</div>

Did you bind a progress bar value to function that takes health as param?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_60057f9e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_60057f9e](https://forums.unrealengine.com/u/anonymous_user_60057f9e)\
**Post date:** [October 28, 2016, 6:43pm UTC](https://forums.unrealengine.com/t/apply-damage-function-and-hud/374752/3 "2016-10-28T18:43:43Z")

</div>

Do you mean this one?  
The OldMale is one of my characters (I also need a way to apply the same HUD to different characters) and the Health is the variable I created in this character bp.
