Simultaneous Interactable Dialogues?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Coltonio
Posts: 1
Joined: Mon Apr 15, 2019 12:42 pm

Simultaneous Interactable Dialogues?

Post by Coltonio »

Hey friends,

I’m working on a 2 player co-op visual novel and I’m trying to get two interactive conversations running simultaneously and having no luck! It’s splitscreen, each conversation running in its own UI, and each player having unique inputs for response control and subtitle confirmation. My initial idea was to have two Dialogue Managers running in the scene at once, but testing has proven this idea to be ridiculous.

Is this doable in Dialogue System? Thank you!
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Simultaneous Interactable Dialogues?

Post by Tony Li »

Hi,

Use one Dialogue Manager, and tick Other Settings > Allow Simultaneous Conversations.

Each conversation will need its own dialogue UI. You can use Override Dialogue UI components to specify which dialogue UI each conversation should use.

If you use continue buttons, hook up each continue button to the dialogue UI's OnConversationContinue method.

Here's an example scene with 3 simultaneous conversations: TurnBasedMultipleConversationExample_2017-02-23_v2.unitypackage

It's a little different because it was made for a turn-based game, but it demonstrates the same idea of using Override Dialogue UI. It's old, though, so it uses the older Unity UI Dialogue UI. The same principle applies to the Standard Dialogue UI though.
Post Reply