Page 1 of 1

Possible to Start Conversation with Sequencer?

Posted: Tue Mar 17, 2020 7:47 pm
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?

Re: Possible to Start Conversation with Sequencer?

Posted: Tue Mar 17, 2020 8:56 pm
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.

Re: Possible to Start Conversation with Sequencer?

Posted: Tue Mar 17, 2020 9:41 pm
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.

Re: Possible to Start Conversation with Sequencer?

Posted: Tue Mar 17, 2020 9:56 pm
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)".