Page 1 of 1

Setting up dialogue advancing/pacing on click

Posted: Mon Sep 26, 2022 10:46 am
by FishFern
Hi Everyone,

I hope you're all well! :)

Apologies if this query has been posed before, I looked through the documentation and searched the forums, but couldn't seem to find what I'm looking for, so I'm assuming I have my terminology wrong!

I was wondering if there was a way/some settings to set my Dialogue system so that if dialogue is appearing on screen and players click, the full message is instantly displayed, and then if they click again, it will advance to the next piece of dialogue (similar to traditional visual novel style dialogue pacing).

I just set my pacing to use the 'Always' option for the continue button, which is a decent workaround, but I'd love the ability for players to reveal the whole message with a click (anywhere on screen), then click (again, anywhere on screen) to advance to the next piece of dialogue.

Any help with this is very appreciated!

Thanks so much! :)

Re: Setting up dialogue advancing/pacing on click

Posted: Mon Sep 26, 2022 1:17 pm
by Tony Li
Hi,

Add a StandardUIContinueButtonFastForward component to your continue button. Make sure to assign the subtitle text UI element to it. Then configured the UI Button component's OnClick() to call StandardUIContinueButtonFastForward .OnFastForward. The prefab dialogue UIs that ship with the Dialogue System are all set up like this.

See How To: Continue Without UI Button if you want the player to be able to click anywhere on the screen.

Since you mentioned visual novels, there's also a ConversationControl component that adds two features: Toggle Auto Play (flip continue button mode between Always and Never) and Skip All (skip all subtitles until the next response menu or end of conversation).

Re: Setting up dialogue advancing/pacing on click

Posted: Tue Sep 27, 2022 12:45 am
by FishFern
Hi Tony,

Wow, thanks so much for the help, that was perfect! The helpful wizard had already setup the continue button, so I double checked all of that, but I'd never thought to just resize it across the screen--it works like a charm!

Thanks so much!

I hope you have a good one!

Re: Setting up dialogue advancing/pacing on click

Posted: Tue Sep 27, 2022 9:42 am
by Tony Li
Glad to help!