# How can I evoke narrative design trigger after specific event?

**URL:** <https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [September 14, 2024, 4:44pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681 "2024-09-14T16:44:52Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [September 14, 2024, 5:28pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/21 "2024-09-14T17:28:21Z")

</div>

**Reply by k3kalinix | 2024-09-14 17:28:21**

please share whole code

---

<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:** [September 14, 2024, 5:33pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/22 "2024-09-14T17:33:01Z")

</div>

**Reply by \_\_\_1576 | 2024-09-14 17:33:01**

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/e/ee860ba7d20726f507b9ee559138032a78a12c1f.png)

---

<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:** [September 14, 2024, 5:33pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/23 "2024-09-14T17:33:08Z")

</div>

**Reply by \_\_\_1576 | 2024-09-14 17:33:08**

Here it is

---

<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:** [September 14, 2024, 5:34pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/24 "2024-09-14T17:34:42Z")

</div>

**Reply by k3kalinix | 2024-09-14 17:34:42**

Can i see NarrativeDesignTrigger.cs

---

<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:** [September 14, 2024, 5:35pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/25 "2024-09-14T17:35:33Z")

</div>

**Reply by \_\_\_1576 | 2024-09-14 17:35:33**

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/5/544053c07aa76222940171efd0f7cb6775fc221e.png)

---

<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:** [September 14, 2024, 5:36pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/26 "2024-09-14T17:36:40Z")

</div>

**Reply by k3kalinix | 2024-09-14 17:36:40**

using Convai.Scripts.Narrative\_Design;

---

<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:** [September 14, 2024, 5:42pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/27 "2024-09-14T17:42:38Z")

</div>

**Reply by \_\_\_1576 | 2024-09-14 17:42:38**

There are no more errors now. Then, which object should I apply this to?

---

<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:** [September 14, 2024, 6:44pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/28 "2024-09-14T18:44:16Z")

</div>

**Reply by k3kalinix | 2024-09-14 18:44:16**

\<@785917121926266892\>

---

<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:** [September 14, 2024, 6:45pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/29 "2024-09-14T18:45:33Z")

</div>

**Reply by k3kalinix | 2024-09-14 18:45:33**

Just add it to a game object, up to you.

---

<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:** [September 15, 2024, 2:01pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/30 "2024-09-15T14:01:17Z")

</div>

**Reply by \_\_\_1576 | 2024-09-15 14:01:17**

I’ll try it. Thank you very very much for answering all the questions. 🙂

---

<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:** [September 15, 2024, 2:10pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/31 "2024-09-15T14:10:59Z")

</div>

**Reply by k3kalinix | 2024-09-15 14:10:59**

\<@785917121926266892\>  
You are welcome!

If you have any other questions, please do not hesitate to ask.

We would be very grateful if you could leave a comment on our store pages with your company name or the name of your project. We value your feedback and comments as they help us improve our services and products.  
Asset Store: [NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behavior AI | Unity Asset Store](https://assetstore.unity.com/packages/tools/behavior-ai/npc-ai-dialog-actions-and-general-intelligence-by-convai-235621#reviews)

**Embedded Content:**  
**NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behav…**  
Get the NPC AI Engine - Dialog, actions, voice and lipsync - Convai package from Convai and speed up your game development process. Find this & other Behavior AI options on the Unity Asset Store.  
Link: [NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behavior AI | Unity Asset Store](https://assetstore.unity.com/packages/tools/behavior-ai/npc-ai-dialog-actions-and-general-intelligence-by-convai-235621)

 ![Thumbnail](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/007a1958390a9f1f94936341fcca5647e9775c13.jpeg)

---

<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:** [September 15, 2024, 6:24pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/32 "2024-09-15T18:24:07Z")

</div>

**Replying to k3kalinix’s Message**

> **Reply by k3kalinix | 2024-09-15 14:10:59**  
> \<@785917121926266892\>  
> You are welcome!

If you have any other questions, please do not hesitate to ask.

We would be very grateful if you could leave a comment on our store pages with your company name or the name of your project. We value your feedback and comments as they help us improve our services and products.  
Asset Store: [NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behavior AI | Unity Asset Store](https://assetstore.unity.com/packages/tools/behavior-ai/npc-ai-dialog-actions-and-general-intelligence-by-convai-235621#reviews)

**Reply by \_\_\_1576 | 2024-09-15 18:24:07**

Hello. I’m Sorry but, can I ask some other questions? I have problem while applying the scripts you’ve told me yesterday.

---

<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:** [September 15, 2024, 6:25pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/33 "2024-09-15T18:25:09Z")

</div>

**Replying to \_\_\_1576’s Message**

> **Reply by \_\_\_1576 | 2024-09-15 18:24:07**  
> Hello. I’m Sorry but, can I ask some other questions? I have problem while applying the scripts you’ve told me yesterday.

**Reply by k3kalinix | 2024-09-15 18:25:09**

Yes please

---

<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:** [September 15, 2024, 6:49pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/34 "2024-09-15T18:49:00Z")

</div>

**Reply by k3kalinix | 2024-09-15 18:49:00**

\<@785917121926266892\>

---

<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:** [September 15, 2024, 6:49pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/35 "2024-09-15T18:49:55Z")

</div>

**Reply by \_\_\_1576 | 2024-09-15 18:49:55**

Thank you. I added the method as you suggested yesterday. I added the script (the script that makes a specific event occur) to an empty object called ‘Game Manager.’ I also created another empty object called ‘test,’ added the Narrative Design Trigger component to it, added the Convai NPC, and set the trigger I wanted. Then, I connected ‘test’ to the Narrative Design Trigger in the script within the ‘Game Manager.’

Is this the correct way to proceed?

---

<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:** [September 15, 2024, 6:50pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/36 "2024-09-15T18:50:26Z")

</div>

**Reply by \_\_\_1576 | 2024-09-15 18:50:26**

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/b/bce7f7f7e66c0bd3ecc9adcb9aa6eac403485ff6.png)

---

<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:** [September 15, 2024, 6:50pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/37 "2024-09-15T18:50:43Z")

</div>

**Reply by \_\_\_1576 | 2024-09-15 18:50:43**

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/1/1dcb2595ef1160b0bb26386c8f7af7000e98ee55.png)

---

<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:** [September 15, 2024, 6:52pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/38 "2024-09-15T18:52:29Z")

</div>

**Replying to \_\_\_1576’s Message**

> **Reply by \_\_\_1576 | 2024-09-15 18:50:26**

**Reply by k3kalinix | 2024-09-15 18:52:29**

no

---

<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:** [September 15, 2024, 6:52pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/39 "2024-09-15T18:52:40Z")

</div>

**Reply by k3kalinix | 2024-09-15 18:52:40**

Where is your ConvaiNPC

---

<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:** [September 15, 2024, 6:54pm UTC](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681/40 "2024-09-15T18:54:30Z")

</div>

**Reply by \_\_\_1576 | 2024-09-15 18:54:30**

Do I have to attach the script ‘Trigger Counter’ into ConvaiNPC?

[Previous page](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681.md?page=1)

[Next page](https://forum.convai.com/t/how-can-i-evoke-narrative-design-trigger-after-specific-event/1681.md?page=3)
