Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Animating progress bar properly

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.

Product Version: UE 4.14
more ▼

asked Feb 19 '17 at 09:17 PM in Blueprint Scripting

avatar image

6 1 3 5

avatar image WEe172 Feb 25 '17 at 12:08 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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: alt text

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): alt text

Hope that helps! :)

ueanswer1.png (10.4 kB)
ueanswer2.png (70.0 kB)
more ▼

answered Feb 25 '17 at 01:35 AM

avatar image

220 17 15 23

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question