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"

Update value in HUD

Hey guys,

I am not sure, whether I am allowed to ask twice or not but I need to know what I am doing wrong. Here a link to the original thread: https://forums.unrealengine.com/showthread.php?132792-Update-HUD

I have two problems:

  1. How to make the number 0 visible. Everytime I create a binding the 0 isnt shown. The integer must always be over or under 0 to be shown... How can I solve this problem?

  2. Why the variable dont update on the UMG? I made an array full of integers. After ending the level it adds a value to the ints and the UMG change the value from 0 to 3, so far so good. But when I end the second level and go back the value should change to 6 but it doesnt. How can I solve this problem?

alt text

And here is the Blueprint. I use a trigger to end the level. And depending on the time the value 2 or 3 get added. I dublicate the Blueprint and changed the index to 1 so the value of index 0 and 1 should be summed. The thirst time I do the level it only shows nothing (so 0, look problem 1.) because the default value is 0. After ending the level 2 or 3 should be added to index 0 (depending on time). When I go back it shows the number 3 (3+0), so far so good. But after the second level there should be 6 shown because the 3 shoud been added to index 1 and index 1+ index 0= 3+3=6 but the number is still 3...

![alt text][2]

Product Version: UE 4.13
umg.png (117.9 kB)
blueprint.png (134.9 kB)
blueprint.png (134.9 kB)
more ▼

asked Jan 02 '17 at 02:18 PM in Blueprint Scripting

avatar image

1 1 2

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

0 answers: sort voted first
Be the first one to answer this question
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