Download

Eventdispatcher, Call event on assignment

Hey,

I’m working much with EventDispatchers from Blueprint.

On BeginPlay I assign actors to the dispatcher. The assigned actors would need to get an update from the dispatcher right away. Is it somehow possible to Call the dispatcher from the dispatching actor after someone assigned?

There are workarounds, like:
-Make a public function in the dispatching actor that Call the dispatcher on function call.
-On the dispatching actor, Call the dispatcher with BeginPlay-Delay(1)-DispatcherCall.
-Dispatch on Tick (Never do if not needed)

But I don’t like workarounds. I would just like to auto call the dispatcher when someone assigned to it.
Any idea?