Way to set max health?

Create a new variable, call it MaxHealth. Configure it as appropriate on your main blueprint class instance (defaults.)

When attempting to add health, do something like:

“Health = Min(Health + Added, MaxHealth)”

You might also want to not consume the healthpack, if your Health is already >= MaxHealth.

1 Like