Repeating life/heart system on the HUD?

Welp. I’ve been having some more issues. Taking damage works fine, but recovering health? Not so much. Improving health is also turning out to be trickier than I would’ve thought.

But one thing at a time…

So, according to the strings I’m printing, they’re not the same value.

ue4_ste1nar_graph.png

I changed the max hearts to 3, not that it really matters. The character takes damage – 0.25 points of damage, to be precise. This should break his health down from 3.0 to 2.75, right?

Well, it sort of does. The first number (2.5) is the number being printed from the Clamp node, and the second (2.75) is the Current Health according to my struct. But that value only exists because it’s being set by the Clamp node! They should be identical.

In case you’re wondering, the only thing happening before this is I’m taking the Current Health and deducting the 0.25 points of damage from it.

So. Really sorry to bug you all over again. I’m not sure what’s going on.