When continue button is pushed early, the talking animation for the next segment doesn't trigger

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Basel
Posts: 17
Joined: Tue Jul 19, 2022 1:07 pm

When continue button is pushed early, the talking animation for the next segment doesn't trigger

Post by Basel »

So in a cutscene sequence, I have an actor who has a talking animation while the typewriter effect is in progress. She stops talking once the typewriter effect is done. This is the default sequence for dialogues:

Code: Select all

required AnimatorPlay(Talk);
AnimatorPlay(Mouth_Idle)@Message(Typed);
So this runs fine for the first sequence, but if I hit the continue button early, the talk animation doesn't run at all for the next dialogue line (the typewriter effect does work though.)

I'm not sure if it's the sequence script or the continue button that is the issue. Is there some way to make sure the talk animation runs if continue is pressed early?

(The animation plays fine if I wait out the entire previous dialogue before hitting continue.)

Thanks again for your help.
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

Re: When continue button is pushed early, the talking animation for the next segment doesn't trigger

Post by Tony Li »

Hi,

Try changing the sequence to:

Code: Select all

AnimatorPlay(Talk);
required AnimatorPlay(Mouth_Idle)@Message(Typed);
Post Reply