Interrupt a dialog with another
Posted: Mon Jul 08, 2019 1:56 pm
Hi
I'm looking for a good method to implement the following feature request I got:
We got some dialogs that can interrupt other dialogs, for that I added an extra check in the DialogueSystemTrigger.
The request is to play an "exit sentence" as in something like "Wait, what's that there" or "Did you see that" before starting the new dialogue.
Then later the interrupted dialog can be resumed, and then we need to insert a start sentence like "As I was saying..." or "Where were we? Ah yes,..."
What could be a good approach to try to accomplish this? I have a dedicated dialog containing all those "connect" sentences, but I'm looking for a good place in the code to insert them into the ongoing dialog.
Thanks for any help!
I'm looking for a good method to implement the following feature request I got:
We got some dialogs that can interrupt other dialogs, for that I added an extra check in the DialogueSystemTrigger.
The request is to play an "exit sentence" as in something like "Wait, what's that there" or "Did you see that" before starting the new dialogue.
Then later the interrupted dialog can be resumed, and then we need to insert a start sentence like "As I was saying..." or "Where were we? Ah yes,..."
What could be a good approach to try to accomplish this? I have a dedicated dialog containing all those "connect" sentences, but I'm looking for a good place in the code to insert them into the ongoing dialog.
Thanks for any help!