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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Can you cast between a widget and map??

Hello Folks!

Is it possible to make an event dispatcher fire off an event from a ui widget to a map? I'm trying to set it so when the player presses a button in the ui it fades a specific audio from the map. I have seen in unreal discussions that it is possible to create event dispatchers between widget and map, but its not working for me.

What I'm trying to do?

I want it so that when the user clicks on a button in the UI it fades a specific audio in the map.

How its set up:

I'm calling the event on 'Event Construct' in my widget

alt text

I'm binding it on 'Event BeginPlay' in my map

alt text

Product Version: UE 4.19
image-569.png (46.2 kB)
image-568.png (85.2 kB)
more ▼

asked Apr 18 '18 at 07:44 AM in Blueprint Scripting

avatar image

112 3 9 13

avatar image HarryHighDef Apr 18 '18 at 12:36 PM

What might be happening is that your dispatcher is fired before it can be bound, try delaying when the dispatcher is called in the widget. Also more print strings to track your progress in case you miss something

avatar image krishcrush_ Apr 24 '18 at 11:36 AM

Thanks @harryhighdef! Dinny work tho, I tired adding a delay but it had the same issue, I'm sure I'm doing something wrong :(

I did find a workaround which i'll post as an answer

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

1 answer: sort voted first

I managed to get this to work by calling an event in the player blueprint and having an event dispatcher from there calling the level blueprint. Not at all 100% if this is the best/correct way to do it, but it did work.

more ▼

answered Apr 24 '18 at 11:37 AM

avatar image

112 3 9 13

(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