Animating fake Windows Volume popup widget elements

I’m trying to create a fake Windows volume control popup that automatically starts at 100 and counts down to 0 over the course of 5 seconds. So far I have a widget that has a black box, progress bar, slider and white text. The effect happens as the player overlaps a trigger box and is similar to the sanity effect seen in the game Eternal Darkness from back in the day.

So far, with the blueprint I’ve posted, upon triggering the BP, the white text counts up from 0, and the progress bar and slider bars move up from the bottom as intended. What I want to happen is the white text counts down from 100 and the bars to go down rather than up. So basicly the opposite of what it’s doing now. I also would like the master volume to follow suit and the event (and widget) to terminate a few seconds after the volume and widget bars reache 0. I think I’ve figured out how to link the master volume to the widget, but everything else I absolutely cannot figure out. Thanks for your help guys! I appreciate it.

Anybody?

You can flip the bar widget upside down or rotate it in the widget editor.

A trick to count down instead of up is to use a Lerp node (linear interpolate). this lerp node takes A (the start value 100) B (the end value 0) Alpha (0 to 1, which means the number between A to B). Your slider should give the Alpha value (GetValue) for the Lerp. The lerp produces the number to be used as text.

I ended up figuring it out. I’d post how I did it but UE destroyed my project after I tried to rename a folder I created. You can read about it here…Animating fake Windows Volume popup widget elements - #3 by Elantrauma

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.