Prevent Subtitle Text panel to close

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
21on
Posts: 5
Joined: Wed Aug 23, 2023 12:43 pm

Prevent Subtitle Text panel to close

Post by 21on »

Hello, I'm using your amazing asset and have a request if you don't mind.

Is there a way to prevent the Subtitle Panel from closing after reaching a node's end?
Let's say I don't want to link any conversation together. So when a conversation reaches its last entry I would like the Subtitle Panel not to disappear but to keep the text printed on the panel.

Can you help me out? Thank you!
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Prevent Subtitle Text panel to close

Post by Tony Li »

Hi,

Try setting the last dialogue entry's Sequence to:

Code: Select all

{{default}}; WaitForMessage(Forever)
This will keep the conversation active on that dialogue entry.

If you want to allow the conversation to end but not hide the dialogue UI, do this:
  • Dialogue UI: Tick the StandardDialogueUI component > Conversation UI Elements > Don't Deactivate Main Panel.
  • Dialogue Panel: Remove the Animator. Clear the UIPanel component's Show Animation Trigger & Hide Animation Trigger fields. Untick Deactivate On Hidden.
  • Subtitle panel: Remove the Animator. Clear the StandardUISubtitlePanel component's Show Animation Trigger & Hide Animation Trigger fields. Untick Deactivate On Hidden and Clear Text On Close.
21on
Posts: 5
Joined: Wed Aug 23, 2023 12:43 pm

Re: Prevent Subtitle Text panel to close

Post by 21on »

Thank you, I followed your guide to allow the conversation to end but not hide the UI and now everything works great.
Great support
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Prevent Subtitle Text panel to close

Post by Tony Li »

Glad to help!
Post Reply