How to turn off portrait panel when there is no dialogue?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
LostContinentGames
Posts: 4
Joined: Tue Oct 29, 2024 5:28 am

How to turn off portrait panel when there is no dialogue?

Post by LostContinentGames »

Hello,

I'm having a few beginner problems.

My first problem is that I don't want the portrait panel to show when there is no dialogue happening. You can see in the screenshot below that the portrait panel activates when the conversation activates.
Image

I have multiple delays set up, and I don't want the portrait panel to show during them.
Image
Image

I assume it's doing this because I have the Actor set to Player, but I don't think there's an option for no actor. Do you know how to get my desired result?

The second problem I'm having is related to the continue button. If I wait for a node to begin playing, then the continue button doesn't do anything during a delay; this is the desired effect. I don't want the player to press continue during a delay.

However, if I press the continue button rapidly, then it will skip through the dialogue and ruin the sequence. Any idea what's up?

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

Re: How to turn off portrait panel when there is no dialogue?

Post by Tony Li »

Hi,

To handle the portrait image issue, you can set the subtitle panel's Visibility to Always Once Shown (if it was set to Always From Start) or put this sequencer command in the first dialogue entry's Sequence: SetDialoguePanel(false,immediate)

If you use SetDialoguePanel(), in the last dialogue entry before the text entries, use SetDialoguePanel(true)

To disable the continue button, use SetContinueMode(false) in an entry's Sequence. When you want to allow the player to use the continue button again, use SetContinueMode(true).
LostContinentGames
Posts: 4
Joined: Tue Oct 29, 2024 5:28 am

Re: How to turn off portrait panel when there is no dialogue?

Post by LostContinentGames »

Thank you very much!

Actually, the panel's visibility was set to "Only During Content." So, I'm a little confused as to why the panel was there.

Anyway, your other solutions work for what I need.
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to turn off portrait panel when there is no dialogue?

Post by Tony Li »

Glad to help!
Post Reply