Switching UI for each conversation/line node

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
8uddie
Posts: 12
Joined: Sun Sep 02, 2018 9:40 am

Switching UI for each conversation/line node

Post by 8uddie »

Hello,There

Is there a way to let line node appear and be handled in the different UI in conversation ?

I had multi interface. there's a main subtitle one and a box text UI. is there a way to direct which line node or conversation go in to which ? Dialogue Manager seem let you only pick one. do i have find a way to script switching between UI input ?

I apologize if this have been asked and answered before

Thank you so much,
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Switching UI for each conversation/line node

Post by Tony Li »

Hi,

You can add assign subtitle panels to your dialogue UI's StandardDialogueUI component. By default, the included prefabs have two subtitle panels: panel 0 for NPCs, panel 1 for the player. You can add panel 2, panel 3, etc.

To tell a dialogue entry node to use a specific panel, include the [panel=#] markup tag in the Dialogue Text.

To tell a character to use a specific panel for the rest of the conversation, use the SetPanel() sequencer command.
Post Reply