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"

Bind same widget Event dispatcher in two different blueprints

Hi guys, I made a button in a widget then, I created an "Event Dispatcher" to Bind this button in a several blueprints. My problem is that the only way i know to get a "Target" for the "Bind Event" is creating a widget and adding it to the viewport. When i do this with one blueprint it works perfect. But if i do it in a second blueprint, the second one doesn't work.

My question is how can I make a reference or a working variable that I can use it as a Target in the Bind Event. I tried to promote to variable from the "create widget node" in the first blueprint, but then when i add that variable in the second blueprint, ask me for another Target and I really don't know how to do it.

If you know a way, I'll appreciate it.

Thank you so much!

Hector

Product Version: UE 4.15
Tags:
more ▼

asked Sep 10 '17 at 11:25 PM in Blueprint Scripting

avatar image

g0mo
8 8 11 12

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

1 answer: sort voted first

Hi guys, me again. Finally i solved the problem:

  1. Promote to variable the "Return value" of the "create widget" node in the first blueprint.

  2. Get the Variable in the second blueprint.

  3. In my case, the variable was inside an "Actor Blueprint" so I get the Actor Blueprint reference and connect it with the Variable reference. All in the second blueprint (This is what i was missing before).

  4. I connected the Variable chain, made it in the third step, with the "Target" of the "Bind Event Dispatcher".

  5. Works!

Cheers!

more ▼

answered Sep 11 '17 at 12:44 AM

avatar image

g0mo
8 8 11 12

(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