Reuse NPC trigger to another conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
lucasbender
Posts: 6
Joined: Wed Nov 06, 2024 3:34 pm

Reuse NPC trigger to another conversation

Post by lucasbender »

Hello!

I have some NPCs im my game that remain active from start to finish. I'm adding a Dialogue System Trigger to them with Start Conversation as the action to initiate a conversation. However, this specific conversation should only last until the end of a mission. Once that mission is finished, the NPC stays active and will participate in other missions, with different conversations.

I wanted to understand if the best way to do this is by having multiple Dialogue System Triggers with the expected behaviors, which can be activated or deactivated over time, or if I can edit the selected conversation in the Conversation field of the "Start Conversation" action in runtime.

Thank you!
User avatar
Tony Li
Posts: 22034
Joined: Thu Jul 18, 2013 1:27 pm

Re: Reuse NPC trigger to another conversation

Post by Tony Li »

Hi,

Please see the options here: How To: Run a Conversation Only Once. I prefer to always start the same hub conversation and link to different conversations from there, but it's fine to use multiple Dialogue System Triggers with different Conditions, too.
lucasbender
Posts: 6
Joined: Wed Nov 06, 2024 3:34 pm

Re: Reuse NPC trigger to another conversation

Post by lucasbender »

Hello Tony! Thanks for your response!

I believe I'll use multiple triggers after all, since my game has long conversations in very different contexts with the same NPCs. Also, there are some dialogues with multiple Conversants, so I think the project would end up getting a little messy. I tested the strategy of adding multiple triggers to the same object, and it worked well! I think it will work for me.

Thank you!
User avatar
Tony Li
Posts: 22034
Joined: Thu Jul 18, 2013 1:27 pm

Re: Reuse NPC trigger to another conversation

Post by Tony Li »

Sounds good!
Post Reply