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"

Creating a condition between two different widgets

Hello, I'm trying to create a condition in which if you press a button from "Widget (a)" it effects "Widget (b)" and sets an image or button's visibility to Hidden inside widget (b).

I tried using event dispatchers to communicate this logic between two different widgets but it wouldn't work. Would someone kindly steer me to simplified solution for this?


Product Version: UE 4.19
more ▼

asked May 10 '18 at 07:27 AM in Using UE4

avatar image

10 3 2 7

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Well, you can only communicate from the level blueprint to other actors, not the other way around. So i'd say, maybe create another actor that can be accessed by your character.

more ▼

answered May 10 '18 at 09:12 AM

avatar image

897 12 14 22

(comments are locked)
10|2000 characters needed characters left

Place it in your player controller. If you dont have one, make a blueprint child of player controller, and then make a function inside it. Widget can call "Get owning player", and you can call your function through it. Create both the widgets in the player controller, and store the variables for them, for easy access

more ▼

answered May 10 '18 at 09:32 AM

avatar image

78 8 5 12

(comments are locked)
10|2000 characters needed characters left
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