Catching events from a child actor component

Hello,
I have a blueprint with a child actor of a class that has certain events. How do I pick up on the events in my parent blueprint?
Do I have to specifically create a parent variable in the child BP, where the child calls the parent when its event triggers?

Thanks!

Do I have to specifically create a
parent variable in the child BP, where
the child calls the parent when its
event triggers?

You could but it’s not necessary or recommended. Consider an Event Dispatcher for this kind of interaction.


Above, the Child Actor calls its own Event Dispatcher. Below, the Parent registers with that event:

This way you do not need a hard reference. And you can, of course, pipe data through the dispatcher.

4 Likes

Very clear, thank you very much!