Autoscroll without typewriter

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
perezbalen
Posts: 40
Joined: Mon May 24, 2021 7:22 pm

Autoscroll without typewriter

Post by perezbalen »

Hi
I'm sure this has a simple answer but I've been unable to figure it out by myself.
I'm starting from the Runic template.
When I use the Typewriter effect, my subtitle text works fine. But when I'm not, long texts get cut off the screen (The scroll content stays still, but grows downwards as the new texts appears, so it only shows what the Scroll Rect lets it.)
I have to use the scrollbar to see what's down there. And it's not until the response menu panel activates, that the whole thing jumps up. So if I had four pages of dialogue without asking for player input, I see the first lines, then nothing, and then the last lines.
So I guess there is a setting somewhere that pushes the subtitle text up when a new entry appears, but I can't find it.
User avatar
Tony Li
Posts: 22161
Joined: Thu Jul 18, 2013 1:27 pm

Re: Autoscroll without typewriter

Post by Tony Li »

Hi,

Currently it auto scrolls to the bottom when the menu appears, like you described. You can scroll to the bottom on subtitle text by adding a very short script with an OnTextChange method, but it's a common enough thing that I just added it to the subtitle panel script. Import this patch and assign the Scroll Rect's UIScrollbarEnabler to the subtitle panel's Scrollbar Enabler field:

DS_SubtitleControlsPatch_2021-06-15.unitypackage
Post Reply