# how do I call a function in blueprint actor component from blueprint character?

**URL:** <https://forums.unrealengine.com/t/how-do-i-call-a-function-in-blueprint-actor-component-from-blueprint-character/1494061>\
**Category:** Blueprint\
**Tags:** child-actor-componen, unreal-engine, Blueprint, question\
**Created:** [December 6, 2023, 9:45am UTC](https://forums.unrealengine.com/t/how-do-i-call-a-function-in-blueprint-actor-component-from-blueprint-character/1494061 "2023-12-06T09:45:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poor\_Game](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Poor\_Game](https://forums.unrealengine.com/u/Poor_Game)\
**Post date:** [December 6, 2023, 9:45am UTC](https://forums.unrealengine.com/t/how-do-i-call-a-function-in-blueprint-actor-component-from-blueprint-character/1494061/1 "2023-12-06T09:45:01Z")

</div>

hi. Please help me. I’m making a dialog system and I ran into a problem. I need a function from the character bluprint to be called at the end of the dialog for some choices. How do I do this? And also advise a good guide on the actor component topic. I will be grateful

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [December 6, 2023, 9:49am UTC](https://forums.unrealengine.com/t/how-do-i-call-a-function-in-blueprint-actor-component-from-blueprint-character/1494061/2 "2023-12-06T09:49:40Z")

</div>

Is the component in the character blueprint? If no, then where is it?

---

<div class="post-metadata">

**Author:** ![Poor\_Game](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Poor\_Game](https://forums.unrealengine.com/u/Poor_Game)\
**Post date:** [December 6, 2023, 10:38am UTC](https://forums.unrealengine.com/t/how-do-i-call-a-function-in-blueprint-actor-component-from-blueprint-character/1494061/3 "2023-12-06T10:38:54Z")

</div>

yes

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [December 6, 2023, 10:40am UTC](https://forums.unrealengine.com/t/how-do-i-call-a-function-in-blueprint-actor-component-from-blueprint-character/1494061/4 "2023-12-06T10:40:54Z")

</div>

> how do I call a function in blueprint actor component from blueprint character

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/e/5ae56f70e7c6b428a438c3cfa217a692c915cef4.png)

> 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 the `Actor Component`:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/d/44d1276e796fa6777a6212c5cab56fec3f231eea.png)

- and catch it in the player BP:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/c/f2c188e7721cd8c195c001bca4d4ec8bb1875645.png)

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.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [January 5, 2024, 10:41am UTC](https://forums.unrealengine.com/t/how-do-i-call-a-function-in-blueprint-actor-component-from-blueprint-character/1494061/5 "2024-01-05T10:41:39Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
