Continue button not focusing when using [panel=x] tag

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mgregoirelds
Posts: 106
Joined: Wed Aug 23, 2017 4:10 pm
Location: Canada

Continue button not focusing when using [panel=x] tag

Post by mgregoirelds »

Hello Tony,

I'm using the [panel=x] tag to switch subtitle panel during a conversation. However, the focus never goes on my continue button when that second subtitle is enabled so I'm stuck at this dialogue entry. Any idea what is happening? The second subtitle is a copy of my default one, with a different font. When I'm using the default subtitle panel, it is working fine.

FYI, Continue Button in Dialogue Manager/Subtitle Settings is set to Always.
Unity 2022.3.17f1
Dialogue System 2.2.44.1
OpenAI Addon 1.0.12
mgregoirelds
Posts: 106
Joined: Wed Aug 23, 2017 4:10 pm
Location: Canada

Re: Continue button not focusing when using [panel=x] tag

Post by mgregoirelds »

Ok, after a few hours of trials and errors, I found out a solution.

First of all, both subtitle panels were enabled (I guess I had to keep both of them disabled and let Dialogue System do the enable/disable of the panels GameObject). Then, in my conversation, all conversation entries are now defining a [panel=x] tag, otherwise what I was seeing is both subtitle panels being open at the same time.

It seems to work okay now.
Unity 2022.3.17f1
Dialogue System 2.2.44.1
OpenAI Addon 1.0.12
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue button not focusing when using [panel=x] tag

Post by Tony Li »

Hi Maxime,

It sounds like you already found a solution. If you're still working on this, check if your subtitle panels' Visibility dropdowns are set to Always From Start. If so, the Dialogue System will open them when the conversation starts, using the portrait name and image of the first actor in the conversation that might use the panel. If this is the case, change the Visibility dropdown to something else.
Post Reply