# How to get an output from a custom event

**URL:** <https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324>\
**Category:** Blueprint\
**Tags:** custom-event, unreal-engine, UE4, Blueprint, question\
**Created:** [April 19, 2017, 1:26pm UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324 "2017-04-19T13:26:52Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![678GUY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@678GUY](https://forums.unrealengine.com/u/678GUY)\
**Post date:** [April 19, 2017, 1:26pm UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/1 "2017-04-19T13:26:52Z")

</div>

ok so i had made a post asking about how i can use a delay in a function but everybody told me that its impossible  
because i had made a script that i give it a word and it will add char by char to make a nice effect of talking but it uses delay so i cant use it in a function and i also cant in a widget because i cant cast to a widget in it (there is no get all widget of class) so i have to use a custom event but i cant use bp interface and messege because if i want to use it more then one time it will still fire in every single event of it so is there any way to send a exction from a custom event to tell me when its done?

---

<div class="post-metadata">

**Author:** ![Xosh\_project](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xosh\_project](https://forums.unrealengine.com/u/Xosh_project)\
**Post date:** [April 19, 2017, 6:38pm UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/2 "2017-04-19T18:38:54Z")

</div>

Basically you want to have an effect that add character by character in a dialog box (inside your widget). I guess the text is send to the dialog box every second by example?

Not sure if this is what you try to achieve, but what do you think about pushing all your text to your widget then inside the widget create the effect that you need ?

---

<div class="post-metadata">

**Author:** ![Xosh\_project](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xosh\_project](https://forums.unrealengine.com/u/Xosh_project)\
**Post date:** [April 19, 2017, 6:40pm UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/3 "2017-04-19T18:40:03Z")

</div>

also, normally you can use get all widget actor from all type of blueprint if I say nothing wrong.

---

<div class="post-metadata">

**Author:** ![Xosh\_project](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xosh\_project](https://forums.unrealengine.com/u/Xosh_project)\
**Post date:** [April 19, 2017, 6:57pm UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/4 "2017-04-19T18:57:03Z")

</div>

also they is no way to get a direct output from custom event, the best you can done is bring him to a new custom event (and loop like that).

---

<div class="post-metadata">

**Author:** ![678GUY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@678GUY](https://forums.unrealengine.com/u/678GUY)\
**Post date:** [April 19, 2017, 7:47pm UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/5 "2017-04-19T19:47:32Z")

</div>

no thats not the problom i have the effect done i want an output of excection to know when it is finished so the game would know when to do the next thing

---

<div class="post-metadata">

**Author:** ![Xosh\_project](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xosh\_project](https://forums.unrealengine.com/u/Xosh_project)\
**Post date:** [April 19, 2017, 9:45pm UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/6 "2017-04-19T21:45:13Z")

</div>

Here my quick solution → calculate the max length of the sentence and turn a Boolean variable off, so when you send the last character you can turn on the Boolean variable so the game can continue.

If you want we can maybe have a little skype (we don’t need to talk) only to show me exactly where you have problem to advice your other BP that they need to continue.

---

<div class="post-metadata">

**Author:** ![Xosh\_project](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xosh\_project](https://forums.unrealengine.com/u/Xosh_project)\
**Post date:** [April 24, 2017, 6:11pm UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/7 "2017-04-24T18:11:32Z")

</div>

what happens whit this question 678GUY?

---

<div class="post-metadata">

**Author:** ![MasterFuzzFuzz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MasterFuzzFuzz](https://forums.unrealengine.com/u/MasterFuzzFuzz)\
**Post date:** [April 24, 2017, 6:23pm UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/8 "2017-04-24T18:23:29Z")

</div>

Someone correct me if I’m wrong, but events can’t have outputs. Isn’t that what functions are for?

---

<div class="post-metadata">

**Author:** ![678GUY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@678GUY](https://forums.unrealengine.com/u/678GUY)\
**Post date:** [April 25, 2017, 4:40am UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/9 "2017-04-25T04:40:09Z")

</div>

oh soory i forgot to replay i did what you said i calculated the the time it will take and i sticked it in a function so can you please say that answer again is an answer so i can accsept it

---

<div class="post-metadata">

**Author:** ![Xosh\_project](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xosh\_project](https://forums.unrealengine.com/u/Xosh_project)\
**Post date:** [April 27, 2017, 6:36am UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/10 "2017-04-27T06:36:40Z")

</div>

answer::

Here my quick solution → calculate the max length of the sentence and turn a Boolean variable off, so when you send the last character you can turn on the Boolean variable so the game can continue.

---

<div class="post-metadata">

**Author:** ![Xosh\_project](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xosh\_project](https://forums.unrealengine.com/u/Xosh_project)\
**Post date:** [April 27, 2017, 6:38am UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/11 "2017-04-27T06:38:27Z")

</div>

done, and don’t forget that custom event is in your blueprint and doesn’t have output like I said above. Function have output but no delay nodes, Macros have delay & output, but you need to create the execution nodes yourself.

---

<div class="post-metadata">

**Author:** ![FullDeckOfFools](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fulldeckoffools/32/603490_2.png) [@FullDeckOfFools](https://forums.unrealengine.com/u/FullDeckOfFools)\
**Post date:** [January 27, 2023, 9:29am UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/12 "2023-01-27T09:29:08Z")

</div>

This is a current work around I have been using. Have had to do quite a few work arounds lately. Seems Actor Components are not as flexible as the Actors themselves. But I digress. Don’t remember who but someone above mentioned this route with little detail, so I will emphasize, as I know all too well the shoes of a new developer.

> **[UE\_ExampleOfFunctionDelayWorkAround\_EventGraph.png](https://drive.google.com/file/d/1-HAUMxzqAAnrJSQs1eMGF2L3XxTw9h4J/view?usp=sharing)**
>
> Google Drive file.

> **[UE\_ExampleOfFunctionDelayWorkAround\_FunctionBeforeDelay.png](https://drive.google.com/file/d/1-Gp_55dSQSq4k2-b5IKMSPy6M2YaQXSR/view?usp=sharing)**
>
> Google Drive file.

> **[UE\_ExampleOfFunctionDelayWorkAround\_DelayEvent.png](https://drive.google.com/file/d/1-7ZZ5onog9LHWxmSyYbxN8EyXzp5G1nj/view?usp=sharing)**
>
> Google Drive file.

> **[UE\_ExampleOfFunctionDelayWorkAround\_FunctionAfterDelay.png](https://drive.google.com/file/d/1-1UYe53EyxLroX0N5yBvdaIl-_e4Lven/view?usp=sharing)**
>
> Google Drive file.

> **[UE\_ExampleOfFunctionDelayWorkAround.gif](https://drive.google.com/file/d/1--wjjBMpnaD-FSXcpaTMz3pofxpyB3rD/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![Maddy13294](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maddy13294](https://forums.unrealengine.com/u/Maddy13294)\
**Post date:** [February 21, 2025, 10:47am UTC](https://forums.unrealengine.com/t/how-to-get-an-output-from-a-custom-event/391324/14 "2025-02-21T10:47:20Z")

</div>

True/ But what if I wanted to access a macro inside it. I can only use macros inside event graph and cannot be used by a function.
