Possible to Start Conversation with Sequencer?
-
- Posts: 222
- Joined: Wed Jan 22, 2020 10:48 pm
Possible to Start Conversation with Sequencer?
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?
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:
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.
-
- Posts: 222
- Joined: Wed Jan 22, 2020 10:48 pm
Re: Possible to Start Conversation with Sequencer?
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?
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)".
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)".