Download

Variable Range not working

Hello

i did a healing blueprint.
When i heal a few times, then its always goes over 110.
But the Max Value Range is 110.
How is this possible?

Healing function:

Print Health:

Health Var:

Cheers, Chriz

you should use Clamp node
https://docs.unrealengine.com/latest/INT/BlueprintAPI/Math/Float/Clamp_Float_/index.html

Yeeessss
It worked, thanks :slight_smile: