Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How would I make a Health Bar that shows recent damage?

Hey everyone,

My end goal looks something like this: https://gyazo.com/6265d2ffb409817499d1fb5810dde4d8 How would I accomplish what is pictured in the gif in a UMG widget?


Product Version: UE 4.13
more ▼

asked Oct 19 '16 at 05:20 AM in Blueprint Scripting

avatar image

Manly Princess
1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You can have two variables in two overlapping widgets. And if you want to get the health to get lower over time until it reaches the other value you can reduce the health until it is =< than the health before hit - recent hit amount. The yellow health would be like the normal health, exept that it will represent the the damage you took.

more ▼

answered Oct 19 '16 at 05:24 AM

avatar image

133 6 9 18

avatar image Manly Princess Oct 19 '16 at 05:26 AM

What would be a good way to reduce that health over time? AFAIK delay doesn't work in functions, so binding is out of the question, right?

Thank you.

avatar image Lexyth Oct 19 '16 at 05:28 AM

You can't use delay in functions, but afaik you could use them in a widget blueprint.

avatar image Lexyth Oct 19 '16 at 05:34 AM

Actually you could also just use a normal healt bar and add the yellow on the position where the health would be at that health value, and with the length of the damage. And just reduce that over time. It would work if you have no technical use for this set up, other than appearance.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question