Page 1 of 2

Another Conversation is Triggered.

Posted: Mon Aug 29, 2016 10:03 am
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! :)

Re: Another Conversation is Triggered.

Posted: Mon Aug 29, 2016 1:27 pm
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.

Re: Another Conversation is Triggered.

Posted: Mon Aug 29, 2016 2:52 pm
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.

Re: Another Conversation is Triggered.

Posted: Mon Aug 29, 2016 3:08 pm
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.

Re: Another Conversation is Triggered.

Posted: Mon Aug 29, 2016 9:55 pm
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.

Re: Another Conversation is Triggered.

Posted: Tue Aug 30, 2016 3:38 am
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);

Re: Another Conversation is Triggered.

Posted: Tue Aug 30, 2016 9:02 am
by Tony Li
In your main menu method, add this line before SceneManager.LoadScene("MainMenu"):

Code: Select all

DialogueManager.StopConversation(); 

Re: Another Conversation is Triggered.

Posted: Tue Aug 30, 2016 2:24 pm
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?

Re: Another Conversation is Triggered.

Posted: Tue Aug 30, 2016 2:56 pm
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.

Re: Another Conversation is Triggered.

Posted: Tue Aug 30, 2016 4:37 pm
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? :)