Page 1 of 1

[Solved!] On Conversation End Event not Triggering

Posted: Tue Oct 29, 2019 9:39 am
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!

Re: On Conversation End Event not Triggering

Posted: Tue Oct 29, 2019 9:51 am
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

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

Posted: Tue Oct 29, 2019 1:03 pm
by CodePrincess
I sure can, and it worked like a charm!

You're the best, Tony!

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

Posted: Tue Oct 29, 2019 1:09 pm
by Tony Li
Glad to help! :-)