Basically, I’m trying to make a progress bar which would show how long until your unit is constructed via a progress bar. I’ve setup a delay event with a 2 second delay, it gets the delay time from a set variable. I get the remaining time from the handle and store it in a variable… Right now, I can’t seem to find my way to get the remaining onto the progress bar and make it constantly updated it until its done.
Could anyone help? Ive setup a timeline to animate the progress bar, but so far it doesnt actually animate it. It does set the progress bar percent to 0 but thats it.
Is your variable updating correctly?
If it is, all you need to do is create a binding event to the progress variable in the progress bar:
And get your variable inside the function, assigning it to the return value. Remember that the progress should take a value from 0 (empty) to 1 (full):
Hope that helps!