I was doing this tutorial here and I wanted to change the color of the Health bar when the health is at certain ranges. I know how to do the logic gate but I just can’t seem to find out how to change the fill color.
I tried binding a function to the Fill Color and Opacity then I tried using the Set Color and Opacity function (couldn’t get it to work), tried assigning value to a Linear Color variable and return that (didn’t work), tried calling the progress bar widget and then using the Set Fill Color and Opacity (didn’t work). The only thing that seems to even return sucessfully is when return the Fill Color and Opacity variable from the progress bar widiget. How do I change that value? The Setter doesn’t seem to work or I am doing something wrong.
Here are simplistic images of what I tired (without the logic gate).
Don’t set anything in your getter, those functions are suppose to be pure and have no side effects. So do the color changes in Tick, or add another binding for just the color.
Who knows if anyone will ever respond to this but I’ll give it a shot. In the working image above you have “Get fill color and Opacity.” I cant for the life of me get the target to be my progress bar that I need. It only allows me top create a new one. I am using UE5. Thanks in advance