x

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"

Widget Text isn't updating properly, old artifacts

Could anyone tell me why this is happening? I have the text corresponding to ammo and health bound to functions that get these values from the character. They change at the correct times, but the new value and the initial value are always drawn on top of each other instead of just the current value. I've included an image of what I mean. Is this a problem with UMG, my character blueprint, or some mishap between dedicated server and it clients?alt text

Product Version: UE 4.14
Tags:
screenshot (67).png (529.7 kB)
more ▼

asked Dec 31 '16 at 04:36 AM in Blueprint Scripting

avatar image

devlafford
1

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

1 answer: sort voted first

I understand this is an old topic, but hope this helps someone because I ran into the same problem.

Make sure you aren't creating a second text widget on top of itself. A good way to check this is to print a debug string in the "Construct" Event in your HUD BP/C++ class. If you see more than 1 message printing, then your text widget is being painted on the screen more than once.

In my case, I accidentally added the same HUD in the gameMode and HUD classes.

more ▼

answered Apr 19 '19 at 11:51 AM

avatar image

philAtWork
1 3 3

(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