Dialogue Panel not hiding when there is no content in it?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Tentakero
Posts: 48
Joined: Wed Sep 23, 2020 12:36 pm

Dialogue Panel not hiding when there is no content in it?

Post by Tentakero »

Hopefully this one is a quick fix. I'm trying to get a dialogue node to hide when it has no text, but for some reason, setting the visibility of the subtitle panel to "Only During Content" isn't doing it. I'm getting empty panels that only contain some Lua stuff in the backend.

Image

The delay node for example only has a sequence command for "Continue()@2". Yet it shows up like this during gameplay.

Image

I'm sure I'm probably just overlooking a setting or something that may be doing it.
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue Panel not hiding when there is no content in it?

Post by Tony Li »

Hi,

There are two ways you can handle it.

1. Set the panel's Visibility to Only During Content. It should disappear if there's no text to show.

2. Or use the HidePanel(#) or SetDialoguePanel(false) sequencer commands.
Tentakero
Posts: 48
Joined: Wed Sep 23, 2020 12:36 pm

Re: Dialogue Panel not hiding when there is no content in it?

Post by Tentakero »

Ok thank you I will try the sequencer commands since the visibility set to only during content wasn't changing it for some reason.
Post Reply