Page 1 of 1

More Options for SetContinueMode, please?

Posted: Thu Jun 23, 2022 1:45 am
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?

Re: More Options for SetContinueMode, please?

Posted: Thu Jun 23, 2022 10:14 am
by Tony Li
Hi,

Yes, I'll get those added in the next release.

Re: More Options for SetContinueMode, please?

Posted: Fri Jun 24, 2022 2:16 am
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?

Re: More Options for SetContinueMode, please?

Posted: Fri Jun 24, 2022 8:49 am
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.

Re: More Options for SetContinueMode, please?

Posted: Sat Jun 25, 2022 4:01 am
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.

Re: More Options for SetContinueMode, please?

Posted: Sat Jun 25, 2022 8:21 am
by Tony Li
I think I'll flip the wording and use "Require Continue Button On Last Line".