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"

Progress Bar Gradually Filling Up With Collection Points

Hi guys,

So I have made a progress bar and basically I want it to gradually fill up every time I collect a coin. There are 20 coins in the level in total. I have kind of got it working, when I collect the first coin the progress bar fills all the way. So, it works to an extent, the problem is that I do not want it to fill all the way, I want it to fill gradually via the 20 coins.

I am new to UDK, I have been using it for like 2 months but haven't done much blueprint work before so forgive me if this is a simple fix, but I just cannot figure it out.

Any help would be appreciated!

Product Version: UE 4.15
more ▼

asked Apr 14 '17 at 04:18 PM in Blueprint Scripting

avatar image

8 2 3 4

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

1 answer: sort voted first

Welcome to UE4. Here is an example of what you could do.

Place this in your pickup BP: alt text

Then put this on your Widget: alt text Don't forget to bind the amount to your progress bar: alt text

Here is an example: alt text

This may not be the most efficient method and some may have better ways however this is most basic and simple.

Hope this helps.

1.png (107.9 kB)
2.png (81.1 kB)
3.png (6.4 kB)
example.gif (2.4 MB)
more ▼

answered Apr 14 '17 at 04:51 PM

avatar image

150 6 10 17

avatar image chloeeemegan Apr 14 '17 at 05:19 PM

Hi thank you for your help!

I tried this out but I cannot bind the percentage to a variable, only to a function. Also where you have dragged off from "As Third Person Character" to Target>Picked Up Amount, I cannot do this either?

avatar image TheSecondSense Apr 14 '17 at 05:50 PM

Create a variable in your character, in the example (ThirdPersonCharacter), called PickedUpAmount (Or whatever you would like to call it) and make sure it is a float variable. Then you will be able to cast to your character from the Widget and bind it to the Percent Bar

avatar image chloeeemegan Apr 17 '17 at 06:56 PM

I found the problem, turns out all I had to do was change the variable type from integ to float! I appreciate your help and thank you!

avatar image Laziesturtle Sep 02 '18 at 09:55 PM

How do you make it increase by more each time?

(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