Page 1 of 1

Alert Panels.

Posted: Thu May 11, 2023 9:45 am
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!

Re: Alert Panels.

Posted: Thu May 11, 2023 10:27 am
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.