Progress bar not Updating correctly...

Hello.

I’m trying to create a blood variable (default value 200) that will decrease by 1 point every 2 seconds. The idea is that once the value of the blood variable dips below certain point numbers it a effects how the health regenerates, for example; if the blood value has decreased to less than 150 the health will only regenerate half as fast as it did when the blood was higher than 150.

I think I’ve got the hang of the basic math, but when I try to link the variable to a progress bar the best I’ve got is that the bar is empty or 100% full. I can’t get the bar to gradually decrease to reflect the two second decay.

Attached is an image of my “blood blueprint”, which I should mention is in the ThirdPersonCharacter Blueprint.

The progress bar (UMG I assume) goes from 1 to 0 (float) so values in 100 or 200 won’t work -> 100 health should be devided by 100 = 1 <- output that to the progress bar

Thanks for your reply.

I am pleased to report that my system seems to be working (mostly) how I intended it now.