Page 1 of 1

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

Posted: Tue May 28, 2019 10:26 am
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.

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

Posted: Tue May 28, 2019 12:09 pm
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.

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

Posted: Tue May 28, 2019 1:02 pm
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.