Skipping typewriter effect and autoscrolling

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Fitbie
Posts: 44
Joined: Tue Dec 07, 2021 6:30 pm

Skipping typewriter effect and autoscrolling

Post by Fitbie »

Hi guys! I have 2 issues
1) When I click 'cancel subtitle input' (I have LMB set up) the NPC text is skipped and I get to the responsible menu. Question: I would like to skip the typewriter effect on the first click, and go to the responsible menu on the second.
2) If there is a large text and I scroll down, I have to scroll back up in the next big text. Where can I find the autoscrolling option?
I'll be honest: I think I've seen these settings somewhere, but unfortunately I forgot where.
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: Skipping typewriter effect and autoscrolling

Post by Tony Li »

Hi,
Fitbie wrote: Sat Jun 18, 2022 3:38 pm1) When I click 'cancel subtitle input' (I have LMB set up) the NPC text is skipped and I get to the responsible menu. Question: I would like to skip the typewriter effect on the first click, and go to the responsible menu on the second.
Use a continue button instead. Setup steps:

1. On the Dialogue Manager GameObject, set Display Settings > Input Settings > Cancel Subtitle Input > Key to None, Button to blank string. Do the same for Cancel Conversation Input.

2. In Display Settings > Subtitle Settings, set the Continue Button dropdown to Always.

3. Add a continue button to your dialogue UI's subtitle panel(s) if they don't already have one. Add a StandardUIContinueButtonFastForward component to the button, assign the subtitle text's typewriter effect to it, and configure the button's OnClick() event to call StandardUIContinueButtonFastForward.OnFastForward.

If you want to be able to click anywhere on the screen to continue, see #2 in this article.
Fitbie wrote: Sat Jun 18, 2022 3:38 pm2) If there is a large text and I scroll down, I have to scroll back up in the next big text. Where can I find the autoscrolling option?
See Autoscroll here.
Post Reply