[Solved!] On Conversation End Event not Triggering

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
CodePrincess
Posts: 111
Joined: Thu Sep 27, 2018 11:06 pm

[Solved!] On Conversation End Event not Triggering

Post by CodePrincess »

Good morning, Tony!

Okay, so my project so far has 3 scenes with a non-singleton Dialogue Manager in them, called "Opening", "Office" and "Detention Center" respectively. Opening moves automatically to the Office without incident. I get problems when moving between the other 2 scenes.

Both scenes have a GameObject with two Dialogue Event Triggers; one that starts a conversation at "On Start" and one that activates a menu at "On Conversation End".

At first, Office runs perfectly, as does the Detention Center when I move there. When I go back, the conversation that should run automatically does, but the Menu activation triggered by "On Conversation End" never happens.

What could keep "On Conversation End" from triggering after the conversation ends? Thank you so much for your insight!
Last edited by CodePrincess on Tue Oct 29, 2019 1:02 pm, edited 1 time in total.
Thank you so much for your help.

Oh! My stats!
Unity 2020.1.10f1
Adventure Creator 1.72.2
Dialogue System for Unity 2.2.12
User avatar
Tony Li
Posts: 21721
Joined: Thu Jul 18, 2013 1:27 pm

Re: On Conversation End Event not Triggering

Post by Tony Li »

Hi,

The OnConversationEnd event only occurs on the Dialogue Manager GameObject and the conversation's two primary participants. Can you move your OnConversationEnd Dialogue System Trigger to one of those GameObjects?

This table lists which GameObjects receive each event: Dialogue System Messages
CodePrincess
Posts: 111
Joined: Thu Sep 27, 2018 11:06 pm

Re: [Solved!] On Conversation End Event not Triggering

Post by CodePrincess »

I sure can, and it worked like a charm!

You're the best, Tony!
Thank you so much for your help.

Oh! My stats!
Unity 2020.1.10f1
Adventure Creator 1.72.2
Dialogue System for Unity 2.2.12
User avatar
Tony Li
Posts: 21721
Joined: Thu Jul 18, 2013 1:27 pm

Re: [Solved!] On Conversation End Event not Triggering

Post by Tony Li »

Glad to help! :-)
Post Reply