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"

SetText not updating in game

Hi, I have been working on setting up authentication for a multiplayer game I am making and am having an issue with putting name tags above players heads. Everything works well except when I want to change that tag from the default when the player connects, I run this blueprint script:

alt text

But no change occurs on the widget editable text or text render component (I have tested this with both) the text does not update in game for anyone. No matter what I do, this is still what shows up above player heads:

alt text

(Logging in is the default text for the widget component)

When I run the set text node it works without error and seems to change the text value of the widget (getText returns the new text edit), but the actual visual representation does not update. I have messed around with replication settings on the custom event, widget, and player controller but nothing changed. Any help is appreciated, thanks.

Product Version: UE 4.14
Tags:
21.png (56.9 kB)
23.png (53.7 kB)
more ▼

asked Mar 18 '17 at 09:45 AM in Using UE4

avatar image

Beeperdp
3 5 8 9

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

2 answers: sort voted first

I managed to get the text to update by ensuring that the setText blueprint node is being run inside of the widget's blueprint.

more ▼

answered Mar 19 '17 at 01:32 AM

avatar image

Beeperdp
3 5 8 9

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

You can also use the ToString node to convert the Text, then convert back to Text, which will update a Widget Text variable Binding.

more ▼

answered Apr 07 '19 at 05:27 PM

avatar image

unit23
488 30 45 81

(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