Dialogue system Typewriter jump

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
joshualoveridge
Posts: 19
Joined: Tue Jan 01, 2019 12:53 am

Dialogue system Typewriter jump

Post by joshualoveridge »

Hey Toni!

I have an issue with the typewriter effect on the standard dialogue, essentially what happens is as follows, so the typewriter effect appears perfectly at the speed i set and then it gets to mid sentence and then jumps to the very end, I'm guessing its something like a max time on the typewriter effect but i cant seem to figure it out :)

any help would be appreciated!
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue system Typewriter jump

Post by Tony Li »

Hi,

Make sure the Dialogue Manager GameObject's Display Settings > Subtitle Settings > Subtitle Chars Per Second is less than or equal to the typewriter effect's Character Per Second.

Every dialogue entry node has a Sequence. When the Sequence ends, the node jumps to the end. If the typewriter is still typing, this will jump the typewriter to the end, too.

If a node's Sequence is blank, it will use the Dialogue Manager's Display Settings > Camera & Cutscene Settings > Default Sequence. By default, the Default Sequence is set to:

Code: Select all

Delay({{end}})
This makes the Sequence wait for a duration based on the text length -- specifically on the value of the special keyword {{end}}, which is equal to the text length divided by Subtitle Chars Per Second. For example, if the text is 120 characters and Subtitle Chars Per Second is 30, {{end}} will be 120/30 = 4 seconds. (If this is less than Min Subtitle Seconds, {{end}} will be equal to Min Subtitle Seconds.)
Post Reply