Typewriter effect when using Timeline

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
gblekkenhorst
Posts: 83
Joined: Wed Jun 24, 2020 5:06 pm

Typewriter effect when using Timeline

Post by gblekkenhorst »

I'm using Timeline to run my conversation. I'm using continue tracks for each not continuously, and then using the

Code: Select all

<<seq Timeline(speed, Conversation, 0);
required Timeline(speed, Conversation, 1)@Message(ClosedSubtitle);>>
To pause the timeline until the player hits the continue button.

The TextMesh Pro Typewriter effect seems to only work once, it doesn't restart with each new node. Is there a way I can fix this?

If it's helpful I'm using the Yarn 1 import.
User avatar
Tony Li
Posts: 22189
Joined: Thu Jul 18, 2013 1:27 pm

Re: Typewriter effect when using Timeline

Post by Tony Li »

Hi,

Are there any errors or warnings in the Console window?

What DS version are you using? (Can you back up your project, update to the current version, and test it again?)

Make sure the typewriter effect's Play On Enable checkbox is UNticked. The subtitle panel will call Play(). No need for Play On Enable.
gblekkenhorst
Posts: 83
Joined: Wed Jun 24, 2020 5:06 pm

Re: Typewriter effect when using Timeline

Post by gblekkenhorst »

Turning off Play On Awake fixed it! I updated to the latest version anyway (27->29.) Thanks for your help!
User avatar
Tony Li
Posts: 22189
Joined: Thu Jul 18, 2013 1:27 pm

Re: Typewriter effect when using Timeline

Post by Tony Li »

Glad to help!
Post Reply