anim trigger skipping text dialogue

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
tezza73
Posts: 21
Joined: Thu Feb 21, 2019 5:52 am

anim trigger skipping text dialogue

Post by tezza73 »

Hi,

When i use the AnimatorTrigger(name); command in sequencer, in the game it skips/ doesn't' t show the text dialogue that is part of that conversation box, it just plays the animation.....i must be doing something wrong?
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: anim trigger skipping text dialogue

Post by Tony Li »

Subtitle text stays onscreen for the duration of the sequence. The AnimatorTrigger() command runs and completes instantly, which means the duration is zero.

Try this:

AnimatorTrigger(name); Delay({{end}})

or:

AnimatorTrigger(name); {{default}}

The keyword {{default}} is replaced by the Dialogue Manager's Default Sequence. Assuming that the Default Sequence is still set to its original value of Delay({{end}}), the two sequences above are equivalent.

The keyword {{end}} is a duration based on the length of the subtitle text.
tezza73
Posts: 21
Joined: Thu Feb 21, 2019 5:52 am

Re: anim trigger skipping text dialogue

Post by tezza73 »

ok thanks for that...
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: anim trigger skipping text dialogue

Post by Tony Li »

Sure thing! Here's a link to the Cutscene Sequence Tutorials in case you want more info.
Post Reply