Page 1 of 1

When continue button mode change, how to avoid clicking

Posted: Mon Sep 13, 2021 11:43 am
by Triphail
Hi,I want to change continue button mode when scenes is playing, but when the mode is switched from always to never, I have to click the button then the conversation can automaticlly process. But I want to cancel the click, it means if the continue button mode change from always to never when scenes is playing, the conversarion can directly automaticlly process.
And I want to do a skipping conversation effect, it likes quickly flipping a book, you can see the dialogue, but it flash quickly to next until the selector node. I try to change the Subtitle Chars Per Second and the Min Subtitle Seconds to achieve it, but do you have the better way can do it?

Re: When continue button mode change, how to avoid clicking

Posted: Mon Sep 13, 2021 2:45 pm
by Tony Li
Hi,

Are you using the SetContinueMode() sequencer command to change the continue button mode? This should automatically advance the conversation when you use SetContinueMode(false). You can also manually advance by using the Continue() sequencer command.

If you're manually changing DialogueManager.displaySettings.subtitleSettings.continueButton, you must issue the next continue on your own by calling DialogueManager.standardDialogueUI.OnContinueConversation().

To speed up or slow down the typewriter, see this post.

Re: When continue button mode change, how to avoid clicking

Posted: Tue Sep 14, 2021 3:05 am
by Triphail
Thank you for your reply, but I can't determine the conversation node, I want to change continue button mode at a random conversation node. So I think the sequence won‘t work. Can you have other suggestion?
I use the StandardUIContinueButtonSpeedUp and ResetTypewriterSpeed, but it seems to change the speed of character text showing, I want to speed up overall conversation, it means one node to another node faster. so I try to change the subtitle showing speed and interval, but if you have other better way to do it?

Re: When continue button mode change, how to avoid clicking

Posted: Tue Sep 14, 2021 8:23 am
by Tony Li
Triphail wrote: Tue Sep 14, 2021 3:05 amThank you for your reply, but I can't determine the conversation node, I want to change continue button mode at a random conversation node. So I think the sequence won‘t work. Can you have other suggestion?
Use DialogueManager.standardDialogueUI.OnContinueConversation(). It works the same as clicking the continue button.
Triphail wrote: Tue Sep 14, 2021 3:05 amI use the StandardUIContinueButtonSpeedUp and ResetTypewriterSpeed, but it seems to change the speed of character text showing, I want to speed up overall conversation, it means one node to another node faster. so I try to change the subtitle showing speed and interval, but if you have other better way to do it?
Also set DialogueManager.displaySettings.subtitleSettings.subtitleCharsPerSecond and minSubtitleSeconds. For example, if you set the typewriter characters per second to 120, then set these values:

Code: Select all

DialogueManager.displaySettings.subtitleSettings.subtitleCharsPerSecond = 120;
DialogueManager.displaySettings.subtitleSettings.minSubtitleSeconds = 0;
This assumes your dialogue entry node's Sequence fields are blank so they use the Dialogue Manager's Camera & Cutscene Settings > Default Sequence, and the Default Sequence is set to: Delay({{end}}) -- or that the node's Sequence uses {{end}}.