Starting Another Conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
MysticBoar
Posts: 2
Joined: Wed Apr 28, 2021 2:31 am

Starting Another Conversation

Post by MysticBoar »

Allo.

I should start with what I am able to do. I am able to switch scenes mid conversations, as well continue on to another conversation, as I followed in the documentation.

However, I would like to be able to start another conversation when I enter a scene. For example, the previous conversation has long ended, and we can say some amount of scenes that are not dialogue related has passed. How can I start a new conversation immediately upon entering a new scene?

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

Re: Starting Another Conversation

Post by Tony Li »

Hi,

What if you add a Dialogue System Trigger to the new scene, and set the trigger to "On Start"? Example:

dialogueSystemTriggerOnStart.png
dialogueSystemTriggerOnStart.png (20.19 KiB) Viewed 197 times

This trigger will start the conversation as soon as the scene starts (technically, as soon as the Dialogue System Trigger GameObject starts).
MysticBoar
Posts: 2
Joined: Wed Apr 28, 2021 2:31 am

Re: Starting Another Conversation

Post by MysticBoar »

Thank you so much for responding!

I have everything working okay. If I may continue asking, is there a way to cut a conversation short. Like if I would want to program a button to end a conversation, how would I go about scripting this?
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Starting Another Conversation

Post by Tony Li »

Hi,

Call DialogueManager.StopConversation().
Post Reply