# Disable interruption

**URL:** https://forum.convai.com/t/disable-interruption/1504
**Category:** Unreal Engine Plugin
**Tags:** question, unreal-engine
**Created:** [August 23, 2024, 7:33pm UTC](https://forum.convai.com/t/disable-interruption/1504 "2024-08-23T19:33:48Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [August 23, 2024, 7:33pm UTC](https://forum.convai.com/t/disable-interruption/1504/1 "2024-08-23T19:33:48Z")

</div>

**Original Discord Post by focuskontrol | 2024-08-23 19:33:48**

Is there a good way for a NPC to ignore a player trying to interrupt them while they’re speaking? Sometimes it would be useful.

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [August 26, 2024, 9:17am UTC](https://forum.convai.com/t/disable-interruption/1504/2 "2024-08-26T09:17:21Z")

</div>

**Reply by k3kalinix | 2024-08-26 09:17:21**

\<@1216254232957685765\>

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [August 26, 2024, 9:26am UTC](https://forum.convai.com/t/disable-interruption/1504/3 "2024-08-26T09:26:28Z")

</div>

**Reply by mighty\_brute | 2024-08-26 09:26:28**

Hello \<@249594950071746561\>, remove interruption method from blueprint.

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [August 26, 2024, 9:50am UTC](https://forum.convai.com/t/disable-interruption/1504/4 "2024-08-26T09:50:34Z")

</div>

**Reply by focuskontrol | 2024-08-26 09:50:34**

Hey, this seems like a method to permanently disable interruption, I want to dynamically change it between different triggers. I guess for now I can think of something myself, but it would be useful in the future for the Invoke functions to have a bool “Can Be Interrupted”. Or just one bool for the chatbot component itself would be fine.

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [August 27, 2024, 1:51pm UTC](https://forum.convai.com/t/disable-interruption/1504/5 "2024-08-27T13:51:27Z")

</div>

**Reply by focuskontrol | 2024-08-27 13:51:27**

It seems removing the interruption method from blueprint isn’t possible as it’s a part of the ChatbotComponent C++ class. And there InterruptSpeech is not a virtual void, so it can’t be overwritten either in a C++ child class

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [August 27, 2024, 1:55pm UTC](https://forum.convai.com/t/disable-interruption/1504/6 "2024-08-27T13:55:23Z")

</div>

**Reply by k3kalinix | 2024-08-27 13:55:23**

\<@365628745886859267\>

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [August 27, 2024, 2:11pm UTC](https://forum.convai.com/t/disable-interruption/1504/7 "2024-08-27T14:11:04Z")

</div>

**Reply by freezfast | 2024-08-27 14:11:04**

You can ignore by setting a barnch right after the T keyboard event, and basically check if the character is currently talking or not, if the character is talking the we do nothing

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [August 27, 2024, 2:11pm UTC](https://forum.convai.com/t/disable-interruption/1504/8 "2024-08-27T14:11:58Z")

</div>

**Reply by freezfast | 2024-08-27 14:11:58**

\<@1216254232957685765\> could you provide a quick screenshot of how this can be done? It would basically us the IsTalking function on the ChatbotComponent

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [August 27, 2024, 4:06pm UTC](https://forum.convai.com/t/disable-interruption/1504/9 "2024-08-27T16:06:34Z")

</div>

**Replying to freezfast’s Message**

> **Reply by freezfast | 2024-08-27 14:11:04**  
> You can ignore by setting a barnch right after the T keyboard event, and basically check if the character is currently talking or not, if the character is talking the we do nothing

**Reply by focuskontrol | 2024-08-27 16:06:34**

that’s a good idea, I’ll test that out. But yeah, that’s still a permanent change

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [November 25, 2024, 12:14pm UTC](https://forum.convai.com/t/disable-interruption/1504/10 "2024-11-25T12:14:39Z")

</div>

This conversation happened on the Convai Discord Server, so this post will be closed.
