Hello Everyone! I need help acquiring the VALUES of my red box widget, relative to the VALUES of the progress bar. (will explain below)
I currently have a power meter that goes from 0 - 100. The goal is for the player to hit equal to or ABOVE the value of the red button widget.
First, I created values for my progress bar by using an animation, connecting it to a lerp, and feeding those return values into a variable that would be accessed in my Widget blueprint. Work Below:
Like I mentioned earlier, the red shape is a button that I created in my User widget. Essentially, I need to be able to control this button, so I can place it any point from 0 to 100%. Hypothetically, if my goal is for the player to hit 60%, I would simply need to feed that value into my variable, and update it as I progress through levels. Button below:
I would really appreciate it if someone could give me some insight on how to do this. I was thinking about taking two points on my progress bar (Start and end), and working my magic with some math in order to find all values that make up the bar. Then, converting it to a percent… But, I feel there must be an easier way.
Anyways, thank you for taking the time to read this =) And I hope I can fix this soon with your help and brain power