how do I call a function in blueprint actor component from blueprint character
I need a function from the character bluprint to be called at the end of the dialog for some choices
This, however, contradicts the subject and sounds like the opposite. In which case:
- I’d use an
Event Dispatcher
in theActor Component
:
- and catch it in the player BP:
You can add attributes to the dispatcher, in case you want to push some data along. Perhaps it’s important to know which dialogue completed.