Possible to Start Conversation with Sequencer?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
VoodooDetective
Posts: 222
Joined: Wed Jan 22, 2020 10:48 pm

Possible to Start Conversation with Sequencer?

Post by VoodooDetective »

I was just wondering if it's possible to start a conversation with a sequencer command? Or if there's any way to start a conversation from a conversation?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Possible to Start Conversation with Sequencer?

Post by Tony Li »

Hi,

You can only start a conversation from another conversation if the Dialogue Manager's Allow Simultaneous Conversations checkbox is ticked. By default, it's unticked.

You can start a conversation from a sequence by setting up a Dialogue System Trigger set to OnUse. Use the SendMessage() sequencer command to send OnUse to the Dialogue System Trigger's GameObject.

Better ways to start a conversation from a conversation might be:
  • Use two Dialogue System Triggers. Set the second one to OnConversationEnd. You'll probably want to use Conditions to only allow it to fire if the conditions are right.
  • Or just link the last node of the first conversation to the first node of the next conversation.
VoodooDetective
Posts: 222
Joined: Wed Jan 22, 2020 10:48 pm

Re: Possible to Start Conversation with Sequencer?

Post by VoodooDetective »

Ahhh fantastic! Linking to another conversation is exactly what I wanted to do. Thanks for pointing that out. I was almost certain I'd seen it in some menu, but just couldn't remember for sure.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Possible to Start Conversation with Sequencer?

Post by Tony Li »

Glad to help!

To link from a node to another conversation, inspect the node. In the "Links To:" section at the bottom of the inspector, select "(Another Conversation)".
Post Reply