Page 1 of 1

anim trigger skipping text dialogue

Posted: Tue Mar 26, 2019 4:19 pm
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?

Re: anim trigger skipping text dialogue

Posted: Tue Mar 26, 2019 4:29 pm
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.

Re: anim trigger skipping text dialogue

Posted: Wed Mar 27, 2019 4:48 am
by tezza73
ok thanks for that...

Re: anim trigger skipping text dialogue

Posted: Wed Mar 27, 2019 9:25 am
by Tony Li
Sure thing! Here's a link to the Cutscene Sequence Tutorials in case you want more info.