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"

communicating between two widgets

hey guys,

am i missing something or is it just not working?

I am trying to communicate between two Widgets. In my first Widget i got the option to select between the languages english and german by pressing a button. this sets a variable boolean ("language") to true or false. Now i want to read this variable in my second widget. In my second widget i've set up a widget reference to the first widget which is public and got a target to the boolean ("language"). Now i created an event tick in my second widget with a print string function. It is set up that i should see a different text every frame printet to the screen depending on the language i selected in the first widget.! alt textalt text

But it is not working. the two widgets are visible on my screen at the same time but when i push the button to switch the language the text which is printed is not changing.

what am i doing wrong?

Greetings Charly :)

Product Version: UE 4.13
002.png (31.6 kB)
001.png (157.2 kB)
more ▼

asked Jan 19 '17 at 09:47 AM in Blueprint Scripting

avatar image

7 2 2 5

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

1 answer: sort voted first


try this solution.

Add a custom event to you gamemode and call this event when you press the button. See the screenshots below.

[1]: /storage/temp/122741-widgettwotxtbind.png

more ▼

answered Jan 19 '17 at 10:44 AM

avatar image

46 1 2 3

avatar image _Charly_ Jan 19 '17 at 01:40 PM

thank you very much! that worked for me!

(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