Page 1 of 1

Simultaneous Interactable Dialogues?

Posted: Tue Apr 16, 2019 1:29 pm
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!

Re: Simultaneous Interactable Dialogues?

Posted: Tue Apr 16, 2019 2:34 pm
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.