Textline and Continue Buttons

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
alexlol
Posts: 35
Joined: Sat Nov 07, 2020 8:20 am

Textline and Continue Buttons

Post by alexlol »

Hi, I'm having a small issue with the Textline Dialogue UI - even though I've selected 'Always' from the Dialogue Manager continue button dropdown and assigned a continue button to my PC subtitle, the button does not seem to activate and I'm unable to continue the dialogue.

I noticed there was a post regarding this issue last year, and wanted to make sure that's the most up-to-date info on it? Thanks.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Textline and Continue Buttons

Post by Tony Li »

Hi,

There isn't any new info beyond that, but make sure you're using the latest version of the package, dated 2019-10-09. It has the updates mentioned in that thread. Also make sure you've assigned your customized dialogue UI (with the continue buttons) to the Dialogue Manager's Dialogue UI field.
alexlol
Posts: 35
Joined: Sat Nov 07, 2020 8:20 am

Re: Textline and Continue Buttons

Post by alexlol »

Hi Tony, thanks for this. I've made sure to have the latest version installed, but I'm still having some issues.

I'm using the same process that I use for other Dialogue UIs (such as Standard Bubble), but it's still not working. That is:
  • Selecting 'Always' under the Continue Button dropdown in the Dialogue System Controller
  • Unchecking 'Always Force Response Menu' bool in the Dialogue System Controller, so single option responses appear only as subtitles and not in the response panel.
  • Creating a Continue button for the NPC and PC subtitle panels and assigning them to the Continue Button field in their respective Standard UI Subtitle Panel components.
  • Ensuring the correct Dialogue UI is assigned in the Dialogue System Controller.
As soon as the dialogue appears, the continue button is not made active. If I manually activate in the inspector, selecting it still has no effect.

Am I missing something in these steps, or getting something wrong? Sorry, been scratching my head at this for a while!
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Textline and Continue Buttons

Post by Tony Li »

Hi,

Can you send a reproduction project and/or reproduction steps to tony (at) pixelcrushers.com?

Here's how I tested it today:
  • Imported the Dialogue System and Textline packages into a new, empty project.
  • Added the scenes to build settings.
  • Edited the Textline Dialogue UI to add a UI Button to each of the two subtitle panels and assigned them to the StandardUISubtitlePanels' Continue Button fields. I didn't assign anything to the OnClick() events. If nothing is assigned to OnClick() the StandardUISubtitlePanel will hook it up at runtime.
  • Set the Dialogue Manager's Subtitle Settings > Continue Button dropdown to Always.
Then I played the start scene and tested it out. NPC and PC lines both showed the correct continue buttons.
alexlol
Posts: 35
Joined: Sat Nov 07, 2020 8:20 am

Re: Textline and Continue Buttons

Post by alexlol »

Thanks - I've reproduced the steps you recommended and it has worked. The only difference that I can see so far is that, in my version, I'm using a duplicated version of the Textline Dialogue UI, but there must be something else causing the problem.

I'll have a poke around with it today and send the repro if I have no luck, if that's still alright!
alexlol
Posts: 35
Joined: Sat Nov 07, 2020 8:20 am

Re: Textline and Continue Buttons

Post by alexlol »

I've found what's causing the issue - if I assign my own Dialogue Database rather than the one provided with Textline, the continue button doesn't work. The conversation itself will still play out fine, however, if I make sure continue isn't set to 'Always'.

Is there something I'm doing wrong in my own Dialogue Database that is causing this? Thanks,

- A

Edit: This is solved now - it was just a case of ensuring the button was focused. Because of the previous post with a similar issue I ended up going down a rabbit hole looking for the wrong solution, when it was just an obvious error. Sorry!
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Textline and Continue Buttons

Post by Tony Li »

Glad you got it sorted!
Post Reply