Alert after conversation ends
-
- Posts: 28
- Joined: Sun May 28, 2023 8:30 pm
Alert after conversation ends
How do I trigger an alert after a conversation has ended? A condition has been met, and I want an alert to trigger after the conversation in that branch ends, so the alert menu is gone.
Re: Alert after conversation ends
Hi,
If you set the "Alert" variable -- for example, in a dialogue entry node's Script field:
Alternatively, if you want to show an alert right away in the middle of a conversation, tick the Dialogue Manager's Alert Settings > Allow Alerts During Conversations. Then use the ShowAlert("message") Lua function in a Script field.
If you set the "Alert" variable -- for example, in a dialogue entry node's Script field:
- Dialogue Text: "We have a winner!"
- Script: Variable["Alert"] = "Goal achieved: win carnival game"
Alternatively, if you want to show an alert right away in the middle of a conversation, tick the Dialogue Manager's Alert Settings > Allow Alerts During Conversations. Then use the ShowAlert("message") Lua function in a Script field.