Hi Tony,
is it possible to update the message shown via ShowAlert while it is still being displayed? I know I can increase the frequency check for alert value, but that does not seem to influence the message being displayed.
Best!
Updating alert message while it is shown
Re: Updating alert message while it is shown
Hi,
If you're using Unity UI, your dialogue UI's Alert section has a checkbox named Queue Alerts. If this is ticked, the Dialogue System will wait for each alert message to be shown for its specified duration before showing the next alert message. If this is UNticked, new ShowAlerts will immediately replace current ones.
The check duration in the Dialogue Manager's Display Settings only affects the frequency at which the Dialogue System checks for assignments to the "Alert" Lua variable -- for example:
If that doesn't help, can you please give me more information about how you're triggering/invoking ShowAlert, and what kind of UI you're using?
If you're using Unity UI, your dialogue UI's Alert section has a checkbox named Queue Alerts. If this is ticked, the Dialogue System will wait for each alert message to be shown for its specified duration before showing the next alert message. If this is UNticked, new ShowAlerts will immediately replace current ones.
The check duration in the Dialogue Manager's Display Settings only affects the frequency at which the Dialogue System checks for assignments to the "Alert" Lua variable -- for example:
Code: Select all
Variable["Alert"] = "Hello, world."
Re: Updating alert message while it is shown
Hi Tony,
thank you very much, I will let you know if I have more questions!
Best
thank you very much, I will let you know if I have more questions!
Best