More Options for SetContinueMode, please?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
NotVeryProfessional
Posts: 150
Joined: Mon Nov 23, 2020 6:35 am

More Options for SetContinueMode, please?

Post by NotVeryProfessional »

As per the manual, SetContinueMode() can set it to true, false or "original".

My desired behaviour is to have the continue button always active, so the player can use it to skip dialogs, but if he doesn't press it, the dialog runs by itself. In the Dialogue System Controller, I've set "Continue Button" to "Optional" and that does the trick.

...except... that it also closes dialogs after the last line, not giving the player enough time to read it. I'd like to have ContinueMode() to "true" on the last dialogue line. I had a similar request for another game a while back and Tony posted a short script to the forum that sets ContinueMode(true) on the last node of a conversation.

...but - I can't do SetContinueMode("Optional") at the first node of the next conversation. I'd like to do that. Would it be possible to change the SetContinueMode() Sequencer command to have full access to all the ContinueButtonMode options?
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: More Options for SetContinueMode, please?

Post by Tony Li »

Hi,

Yes, I'll get those added in the next release.
NotVeryProfessional
Posts: 150
Joined: Mon Nov 23, 2020 6:35 am

Re: More Options for SetContinueMode, please?

Post by NotVeryProfessional »

Amazing, as always.

Actually, this "keep dialog UI open so player can read" sounds like it should be a standard feature, a boolean in the Dialogue Manager settings, don't you think?
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: More Options for SetContinueMode, please?

Post by Tony Li »

Where would be the most intuitive place to put that option, and what should it be called?

You're not the first person to ask for the feature, and in the past I provided a small script. I agree that the functionality of that script should just be rolled into the Dialogue System.
NotVeryProfessional
Posts: 150
Joined: Mon Nov 23, 2020 6:35 am

Re: More Options for SetContinueMode, please?

Post by NotVeryProfessional »

Hm, in the Dialogue Manager, Subtitle settings is my intuition though there could be other places. I would call it "auto-close UI after last line of dialog" and enable it by default to keep current behaviour consistent.

IOW: I changed the ContinueMode thing myself in the code and it works perfectly, exactly as I expected, so hats off to clean code.
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: More Options for SetContinueMode, please?

Post by Tony Li »

I think I'll flip the wording and use "Require Continue Button On Last Line".
Post Reply