Page 1 of 1

Control close dialogue box behavior in Timeline

Posted: Sat Feb 24, 2024 1:57 pm
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 112 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 112 times
thank you in advance !

Re: Control close dialogue box behavior in Timeline

Posted: Sat Feb 24, 2024 4:25 pm
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.