New Window Per Line of Dialogue

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
pbro1994
Posts: 2
Joined: Sat Aug 29, 2020 5:08 pm

New Window Per Line of Dialogue

Post by pbro1994 »

Hey folks (and Tony, of course). I'm struggling to figure out how to get a new dialogue window per line of dialogue for each actor in a scene. I'm using the Runic Standard Dialogue UI prefab. I've read other posts that suggest changing the subtitle panel for the NPC and PC and setting the [panel=#], but I'm not certain that will do the trick, and it seems every line of dialogue would need to have these markups. What is the procedure to do this across all conversations (globally)?

Thanks!
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: New Window Per Line of Dialogue

Post by Tony Li »

Hi,

Do you want the same UI elements to disappear and then reappear with the next speaker's text?

Or a different set of UI elements for each speaker?

If the first (same UI elements), try setting the subtitle panel's Visibility dropdown to Only During Content.

If the second (different UI elements), set up a separate subtitle panel for each speaker. Assign them to the Standard Dialogue UI component's Subtitle Panels list, and make a note of each one's element number (aka panel number). Then add a Dialogue Actor to each speaker's GameObject and set Dialogue UI Settings > Subtitle Panel Number to the corresponding subtitle panel.

However, I don't see how this fits with the Runic UI, which is designed to accumulate all of the speakers' text in a single text area. If I completely missed the mark above, can you post a mockup or sketch of what you want it to look like?
pbro1994
Posts: 2
Joined: Sat Aug 29, 2020 5:08 pm

Re: New Window Per Line of Dialogue

Post by pbro1994 »

I see. I was merely going off of the look of the Runic prefab, but I should stick with the Standard Dialogue UI, and just change out the image as I need. Anyway, setting the visibility on the panel fixed that for me. Thanks very much, Tony!! Take care.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: New Window Per Line of Dialogue

Post by Tony Li »

Glad to help!
Post Reply