Page 1 of 1
Alert control
Posted: Sat Apr 23, 2022 6:02 am
by ZeroElementGames
Hi, we are using articy to set up conversations and variables etc, and we want to show alerts when a variable changes(you obtain X or Y). Is there a way or sequencer command that allows us to show an alert message with a custom text when a variable changes(or lets as decide when?).
i tried with the show alert, but does nothing(probably i don't understand how to use it), and the show alert action on the dialogue system trigger shows at the start.
sorry for bothering you!
Re: Alert control
Posted: Sat Apr 23, 2022 9:01 am
by Tony Li
Hi,
Tick the Dialogue Manager's Display Settings > Alert Settings > Allow Alerts During Conversations:
- showAlert1.png (35.18 KiB) Viewed 409 times
Using the Dialogue Editor, you can show an alert during a conversation by using the ShowAlert() Lua command in a dialogue entry's Script field:
- showAlert2.png (9.47 KiB) Viewed 409 times
The Dialogue System's articy:draft importer translates articy:expresso code blocks into Lua. You can use articy:expresso or Lua in articy Instruction nodes, Condition nodes, and in the input and output pins of nodes, as in the output pin here where I've added the ShowAlert() Lua command:
- showAlert3.png (53.7 KiB) Viewed 409 times
Re: Alert control
Posted: Sat Apr 23, 2022 5:42 pm
by ZeroElementGames
Thanks for the response, it worked perfectly
Re: Alert control
Posted: Sat Apr 23, 2022 6:13 pm
by Tony Li
Glad to help!