Subtitle text waiting for the previous to finish

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Karvakeiju
Posts: 10
Joined: Tue Apr 04, 2023 6:15 am

Subtitle text waiting for the previous to finish

Post by Karvakeiju »

Hi!
This is probably some stupid little thing that I have missed but after a long time of researching I just can't find options for dialogue entries to wait the previous one to finish.
I noticed that when the player character has a long dialogue entry with the typewriter effect, the other conversant's dialogue entry starts before the player's typewriter effect has finished and vice versa. Is there a way to tick some box or something simple to force dialogue entries to wait their own turns?
Thanks in advance!
User avatar
Tony Li
Posts: 22131
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitle text waiting for the previous to finish

Post by Tony Li »

Hi,

Subtitles wait for their Sequences to finish. The typewriter runs independently. For example, if your dialogue entry's Sequence field is:

Code: Select all

Delay(3)
then the subtitle will end when 3 seconds have elapsed, regardless of how far the typewriter has typed.

If you leave the dialogue entry's Sequence field blank, or if you include "{{default}}", the subtitle will play the Dialogue Manager's Camera & Cutscene Settings > Default Sequence, which is initially set to:

Code: Select all

Delay({{end}})
This delays for a duration based on the text length and the the Dialogue Manager's Subtitle Settings > Subtitle Chars Per Second and Min Subtitle Seconds. Since you're using a typewriter effect, make sure Subtitle Chars Per Second is equal to or less than the typewriter effect's Characters Per Second.

Alternatively, you can set the Dialogue Manager's Subtitle Settings > Continue Button mode to Always to require the player to click a continue button to continue, or set the Default Sequence to:

Code: Select all

Continue()@Message(Typed)
To wait for the typewriter to send its sequencer message "Typed" when it's done.

More info: Cutscene Sequences
Karvakeiju
Posts: 10
Joined: Tue Apr 04, 2023 6:15 am

Re: Subtitle text waiting for the previous to finish

Post by Karvakeiju »

Thank you for the reply. I just changed the dialogue manager's characters per second to match the typewriter's and it works. Thanks for clearing this out for me!
User avatar
Tony Li
Posts: 22131
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitle text waiting for the previous to finish

Post by Tony Li »

Glad to help!
Post Reply