Use of SetPanel Hiding Text?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Reznik
Posts: 18
Joined: Sat Apr 24, 2021 9:21 am

Use of SetPanel Hiding Text?

Post by Reznik »

Hi,

I'm doing a call to SetPanel in the node before the one where I need the change to take place. By doing this, it does properly force the correct subtitle panel to display and I can start to see the subtitle show up letter by letter, but almost immediately after the text starts to display it disappears. Any thoughts on what could cause this?

Thanks!
User avatar
Tony Li
Posts: 20771
Joined: Thu Jul 18, 2013 1:27 pm

Re: Use of SetPanel Hiding Text?

Post by Tony Li »

Hi,

First try ticking Wait For Close on both subtitle panels.

If that doesn't work, then if two subtitle panels share some of the same UI elements, it might be the Animator(s). For example, the incoming subtitle panel could be telling the Animator to play the Show animation while the outgoing panel tells it to play the Hide animation.

To see if this is the issue, temporarily remove the Animators from the subtitle panels.

If that's the issue, set up identical UI elements so different panels can control them separately..
Reznik
Posts: 18
Joined: Sat Apr 24, 2021 9:21 am

Re: Use of SetPanel Hiding Text?

Post by Reznik »

Ticking Wait for Close worked.

Thank you!
User avatar
Tony Li
Posts: 20771
Joined: Thu Jul 18, 2013 1:27 pm

Re: Use of SetPanel Hiding Text?

Post by Tony Li »

Happy to help!
Post Reply