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"

can't get variable from other blueprint in a widget blueprint.

I have this text in a widget that needs to be set tot a text variable from a other (actor) blueprint. somehow this does not work. Does someone have a solution? alt text

Product Version: UE 4.10
Tags:
screenshot.png (75.9 kB)
more ▼

asked Mar 08 '16 at 02:56 PM in Blueprint Scripting

avatar image

Silensir
46 4 13 10

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

3 answers: sort voted first

to trouble shoot blueprint communication issues, a good place to start is by checking values of the different variables you're looking to connect with. so for your example, print the value of level/current player. if nothing is returned, you'll need to check if 'level' variable is valid, and/or if 'current player' variable is valid. can you post a blueprint of where and how you initialized these variables?

more ▼

answered Mar 08 '16 at 05:32 PM

avatar image

paradoc
1.2k 49 31 87

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

I think you need to bind the text in your widget to the text variable from the blueprint.

more ▼

answered Dec 13 '16 at 03:21 PM

avatar image

III47III
70 5 8 12

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

You probably forgot to bind a Text update event to your Text node in your widget's designer interface. If you go to the Widget designer view in the editor, select your Text node in the node hierarchy and in the details pane there is an option to Bind a function to the Text value. Bind an event to the Text node and have it set the text to the class variable value.

Would be helpful if we had more information.

In your first screenshot of Event Tick, where is that at? PlayerController?

Can we see your Widget designer/blueprints?

more ▼

answered Dec 14 '16 at 12:08 AM

avatar image

elitereloaded
694 24 24 55

(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