Alert control

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ZeroElementGames
Posts: 13
Joined: Tue May 25, 2021 7:18 pm

Alert control

Post 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!
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alert control

Post by Tony Li »

Hi,

Tick the Dialogue Manager's Display Settings > Alert Settings > Allow Alerts During Conversations:

showAlert1.png
showAlert1.png (35.18 KiB) Viewed 408 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
showAlert2.png (9.47 KiB) Viewed 408 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
showAlert3.png (53.7 KiB) Viewed 408 times
ZeroElementGames
Posts: 13
Joined: Tue May 25, 2021 7:18 pm

Re: Alert control

Post by ZeroElementGames »

Thanks for the response, it worked perfectly
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alert control

Post by Tony Li »

Glad to help!
Post Reply