Another Conversation is Triggered.

Announcements, support questions, and discussion for the Dialogue System.
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Another Conversation is Triggered.

Post by HaiiroMukuro »

I have a problem that when I play the game,go to mainmenu and click the start game.
Nothing will show up on the screen and there's a warning on the console says "Another Conversation is Triggered."
My question is how to resolve this problem? Thank you! :)
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Another Conversation is Triggered.

Post by Tony Li »

Hi,

Are you using the Dialogue System's Visual Novel Framework?

Are these the steps?

1. Play the Start scene in the Unity editor.
2. Click the Start button.
3. The Console window reports: "Another conversation is triggered."


Can you please run these steps:

1. In the Start scene, temporarily set the Dialogue Manager's Debug Level to Info.
2. Reproduce the problem.
3. Send the editor log file to tony (at) pixelcrushers.com.
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Re: Another Conversation is Triggered.

Post by HaiiroMukuro »

Yes, At first run of the game. The dialogue system works fine. Then If I click the Go to mainmenu button and start again the game. The warning shows up.
Image
What I think is the conversation trigger is still running while changing scene like if you change scene while a conversation is triggered. The conversation trigger is still active even the other scene is loaded. That's my best guess so far. still working on it. :D
I already sent the log as freakingsoda on gmail.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Another Conversation is Triggered.

Post by Tony Li »

Thanks for the info. I got your email. I'll check this and send you a patch or solution by the end of the day.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Another Conversation is Triggered.

Post by Tony Li »

Hi,

In your Start scene, please expand Dialogue Manager > Canvas > QuitToMenuPanel > Panel. Inspect QuitToMenuConfirm. Make sure the OnClick() event has three event handlers:
  • Dialogue Manager: Menus.CancelConversation
  • Dialogue Manager: SaveHelper.ReturnToMenu
  • QuitToMenuPanel: GameObject.SetActive (checkbox unticked)
Here's an example screenshot from the Visual Novel Framework's Start scene:

Image

If that doesn't fix the issue, please let me know.
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Re: Another Conversation is Triggered.

Post by HaiiroMukuro »

I use the feature demo script. I copy the script from feature demo and create a new script then I change the "Close Menu" to Go to mainmenu.
Inside the Main menu if statement, I change the script to Scenemanager.LoadScene("Mainmenu);
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Another Conversation is Triggered.

Post by Tony Li »

In your main menu method, add this line before SceneManager.LoadScene("MainMenu"):

Code: Select all

DialogueManager.StopConversation(); 
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Re: Another Conversation is Triggered.

Post by HaiiroMukuro »

It work! Thanks a lot :D
Would you mind if I ask another question here, About the feature demo script?
The feature demo script, saves the quest state,variable states and the position of the character. But it didn't save dialogues.
Example:
-Before saving-
Hi, which are my favorite food?
a. spagetti
b.Burger
c.steak
The player wishes to save before answering the question. If the player got the wrong answer. The player can load the dialogue where the player saves.
Should I use persistent active data together with the feature demo script or there's another way to do that?
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Another Conversation is Triggered.

Post by Tony Li »

There's a script in the Visual Novel Framework on the Dialogue System Extras page that saves your place in the current conversation. You should be able to use this script in your project.
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Re: Another Conversation is Triggered.

Post by HaiiroMukuro »

Currently, I'm working on another scene which is a 3d one and without the vn framework. I used the feature demo script as a pause for the game. I really like it and I wanted to try. Is it possible to save the current conversation through scripting? :)
Post Reply