Setting Health With Parameters

Ok, I just tried to do a healthbar based on this:

Now the problem is how can I hook up health thins thing? I’m using health component so I tried this


Tried several things too but It didn’t work

Try multiplying, Alpha = health * 0.01 for input to your custom event

You can use Alpha = (Health / MaxHealth) if your health is capable going above 100

Theres no max health but It did changed colors. It seems It Doesn’t respond to parameters of material.

Solved it!

Thanks!

1 Like