Alert Panels.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
byronsaniry
Posts: 5
Joined: Thu May 11, 2023 9:44 am

Alert Panels.

Post by byronsaniry »

Hello, How do I permanently show the Alert message once it has been triggered in the script. Currently, my panel disappears after the conversation ends. Thanks!
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alert Panels.

Post by Tony Li »

Hi,

The alert panel will normally stay visible for a duration based on the text length, or a specific number of seconds if you’ve specified a duration when you triggered the alert message.

A quick way to make it stay longer is to specify a longer duration or set the Dialogue Manager’s Alert Settings > Min Subtitle Settings to a very high value such as 99999.

Alternatively, you can make a subclass of StandardDialogueUI and override the HideAlert method to not hide the alert panel. Then use this subclass in place of StandardDialogueUI on your dialogue UI.
Post Reply