Ignore typewriter speed in some lines

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
DragoonHP
Posts: 62
Joined: Tue Jan 15, 2019 8:17 am

Ignore typewriter speed in some lines

Post by DragoonHP »

Hey.
Is it possible to ignore typewriter speed during some dialogues?
Thanks.

Edit: Also what's the main difference between "Subtitle Char Per Second" in Dialogue Manager and Unity UI Typewriter Effect in Standard Dialogue UI. Which one should I use?
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: Ignore typewriter speed in some lines

Post by Tony Li »

DragoonHP wrote: Sat Mar 02, 2019 11:36 amIs it possible to ignore typewriter speed during some dialogues?
Yes. Put these two characters at the beginning of the text:

Code: Select all

\^
That's the RPG Maker-style control code to show the text all at once instead of typing it out character by character.
DragoonHP wrote: Sat Mar 02, 2019 11:36 amEdit: Also what's the main difference between "Subtitle Char Per Second" in Dialogue Manager and Unity UI Typewriter Effect in Standard Dialogue UI. Which one should I use?
The typewriter effect's Characters Per Second controls how fast the typewriter types.

The Dialogue Manager's Subtitle Chars Per Second helps determine the value of the sequencer keyword {{end}}. This keyword is frequently used in sequences. For example, the initial value of the Dialogue Manager's Default Sequence is:

Code: Select all

Delay({{end}})
This tells the Dialogue System to keep the subtitle visible for the duration specified by {{end}}.

Let's say your text is 120 characters long, and Subtitle Chars Per Second is 30. Then {{end}} will be 120 / 30 = 4 seconds. So it will keep the subtitle visible for 4 seconds.

Your typewriter effect's Characters Per Second should be at least this fast. Otherwise the Dialogue System will hide the subtitle before the typewriter has finished.
DragoonHP
Posts: 62
Joined: Tue Jan 15, 2019 8:17 am

Re: Ignore typewriter speed in some lines

Post by DragoonHP »

Thanks :)
Post Reply