Clear UI Portraits from previous conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Alatriste
Posts: 181
Joined: Wed Nov 11, 2015 5:07 pm
Contact:

Clear UI Portraits from previous conversation

Post by Alatriste »

Hi Tony,

I'm having this weird behavior when I jump from one conversation to another one. The portraits remain in the place. It's like the dialogue doesn't clean the UI portraits. I tried different states in the UI Panel -> Start State, but no luck so far.

Any idea about what am I doing wrong?

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

Re: Clear UI Portraits from previous conversation

Post by Tony Li »

Hi,

Are you stopping the conversation and starting a new one, or linking from one conversation to another while still in the same active conversation?
User avatar
Alatriste
Posts: 181
Joined: Wed Nov 11, 2015 5:07 pm
Contact:

Re: Clear UI Portraits from previous conversation

Post by Alatriste »

I'm linking from one conversation to another. How do I stop the finished one?
User avatar
Tony Li
Posts: 21079
Joined: Thu Jul 18, 2013 1:27 pm

Re: Clear UI Portraits from previous conversation

Post by Tony Li »

It sounds like you should continue to link from one conversation to another.

By design, it keeps the portraits onscreen.

If you want to manually hide a portrait when linking to another scene, you can send "Close" to the panel in the dialogue entry's Sequence field. For example, this sequence will close all three subtitle panels:

Code: Select all

SendMessage(Close,,Subtitle Panel 0);
SendMessage(Close,,Subtitle Panel 1);
SendMessage(Close,,Subtitle Panel 2)
Post Reply