Event dispatcher between 2 blueprints

Below is my second BP, I’m going to spawn a bunch of these and make all of them listen to a broadcast (event dispatcher) of an object that created them. All you need is a Custom Event (or a function). Do note the inputs list *(bool & int) *of the event - it’s going to be vital later on:

And here is the Handler, it’s spawning 6 SpawnedThings and makes them listen to the SendData dispatcher:

Every time you call SendData in this handler, all Spawned Things will get the message (and the data). [HR][/HR]
I mentioned the input list at the beginning. In order for this to work both the *Listening *event (I am all ears) and the *Broadcasting *dispatcher (Send Data) must match their signatures. Highlighted here in delicious orange.

1 Like