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"

[Request] Event Dispatchers on Interfaces

I'm trying to get rid of circular references involving UMGs on my project since 4.6 doesn't like that at all. That involves hiding the BP class that deals directly with my widget classes behind an interface. However, there's a big limitation on interfaces: you can't declare event dispatchers on them. Combined with the fact that it's impossible to pass delegates around blueprint-only functions/properties, it's not possible to make an interface that features any sort of callback/broadcast mechanism. The work around is to rely on some 3rd party to perform the dispatching, like a shared object/actor that contains the event dispatchers, so here's a humble request: would it be possible to allow interfaces to declare dispatchers as well as methods/events?

Product Version: Not Selected
Tags:
more ▼

asked Dec 30 '14 at 06:01 PM in Blueprint Scripting

avatar image

pedro_clericuzzi
303 20 24 155

avatar image Acren Aug 15 '16 at 01:35 AM

This would be super useful, +1

Example use case might be a queueing system, Queue maintains a list of Queueable interfaces. The element at the front of the queue fires the Dequeue event declared on the interface when it's done.

avatar image ClaverFlav Dec 23 '16 at 10:25 PM

BUMP... i would love to use this feature right now.

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

1 answer: sort voted first

I have logged this as a feature request here https://issues.unrealengine.com/issue/UE-40957 . You can track the status of the request as it is reviewed by our development staff. Please be aware that this request may not be implemented, or that it may not be prioritized to occur anytime soon.

Cheers

Doug Wilson

more ▼

answered Jan 20 '17 at 09:11 PM

avatar image philm Oct 20 '17 at 01:35 AM

Are there any news regarding the issue? The issue page still just says "Unknown Issue".

avatar image Doug E ♦♦ STAFF Oct 20 '17 at 11:52 AM

Hey philm-

There is no new news about this issue, it is still open in our system however our resources are currently dedicated elsewhere. We don't have a timeframe for when this may be addressed. Please keep in mind that with source code access, a programmer on your project can implement your own solution, and you are welcome to share that result with Epic for possible integration.

avatar image Levitikon217 May 24 '19 at 06:47 PM

Any updates on this? I'm finding a real need for interface define event dispatchers and quite frankly surprised this isn't currently supported. The linked ticket says "Unknown Issue" so can we take that to be a dropped request?

(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