Control close dialogue box behavior in Timeline

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
nuttaphoom
Posts: 10
Joined: Wed Jan 10, 2024 3:24 am

Control close dialogue box behavior in Timeline

Post by nuttaphoom »

From my understanding, the example provided has a class called "CloseSubtitleButton" in which broadcast the message "ClosedSubtitle" and also Clsoe the StandardUISubtitlePanel
Screenshot 2024-02-25 014831.png
Screenshot 2024-02-25 014831.png (60.61 KiB) Viewed 109 times

the thing is I don't want it everytime player click on the close subtitle button, instead I want it to broadcast ClosedSubtitle so the Timeline continue playing but the actual behavior of closing the dialogue box should be determined in the Timeline asset

the clip in which adjacent to another continue clip should NOT close the dialogue box (as in the attached image)
Screenshot 2024-02-25 015039.png
Screenshot 2024-02-25 015039.png (45.22 KiB) Viewed 109 times
thank you in advance !
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Control close dialogue box behavior in Timeline

Post by Tony Li »

Hi,

There are two ways you can hide the subtitle panel without advancing the conversation:

1. Use HidePanel(#) in the conversation's Default Sequence, such as:

Code: Select all

HidePanel(0)@{{end}}
This will hide subtitle panel 0 after the duration specified by {{end}}. (See How To: Control the Duration of Subtitle Text for an explanation of {{end}}.)

2. Or use a Play Sequence clip and use this Sequence in the clip:

Code: Select all

HidePanel(0)
In either case, when you use a Continue Conversation clip it will advance the conversation to the next dialogue entry.
Post Reply