DialogueSystemTrigger Interrupt

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: DialogueSystemTrigger Interrupt

Post by Tony Li »

I'm not sure I understand you. Whenever a conversation ends -- including if it ends because it was interrupted by DialogueManager.StopConversation() -- it sends an OnConversationEnd message.

I thought the problem we were trying to solve is:

1. Use DialogueSystemTrigger to start the first conversation. This conversation warns the player he is under attack.

2. While the first conversation is active, the player dies. Stop the first conversation, and use DialogueSystemTrigger to start the second conversation that tells the player he died.

Using the code and example in my last reply, this is the order in which things happen:

1. Start first conversation.

2. Run modified Dialogue System Trigger:
  • Stops the first conversation, which sends OnConversationEnd.
  • Starts the second conversation.
3. When the second conversation ends, it sends its own OnConversationEnd.
Post Reply