Page 1 of 1

Starting Another Conversation

Posted: Wed Apr 28, 2021 2:41 am
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.

Re: Starting Another Conversation

Posted: Wed Apr 28, 2021 7:28 am
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 193 times

This trigger will start the conversation as soon as the scene starts (technically, as soon as the Dialogue System Trigger GameObject starts).

Re: Starting Another Conversation

Posted: Sat May 01, 2021 8:03 pm
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?

Re: Starting Another Conversation

Posted: Sat May 01, 2021 8:36 pm
by Tony Li
Hi,

Call DialogueManager.StopConversation().