UMG - Progress bar not updating correct value
I am trying to set up a basic Health bar using the progress bar in UMG. I have create the function for getting the updated value and made sure it is bound correctly to the progress bar. But when I run my game, the progress bar defaults at 0 and even when my character's health is at 1 or taking damage, the bar doesn't update. I did some breakpoint toggling and its clearly showing the return node is not updating with the correct value.
asked Jan 17 '19 at 03:04 AM in Blueprint Scripting
drag of the current health and divide that by 1.0 and it should work did you bind this to the percent if it still doesnt work just make a max health set to same value as health and divide the 2 ?
answered Jan 17 '19 at 03:49 AM
Make the function pure
answered Jan 17 '19 at 05:00 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here