For some reason, the “Confirm Selected Option” Dialogue Tree event stopped working for me. It stopped working after I got my own custom Dialogue list working (I didn’t like the built-in options). I can select the option and have the box appear on the selected option (as intended), but pressing enter to select the option doesn’t work.
Sometimes, it’s just an extra line at the end of your options, or stuff like that.
Try checking the value of your variables in real-time, to make sure everything is working as intended.
You may open the dialogue tree example and confirm that the “Confirm Selected Option” Dialogue Tree event works for you.
Then you can compare that project and yours and spot the differences.
Well, we use different methods on a couple things, but as far as I can tell our usage of “Confirm Selected Option” appears the same, yet it works in the example but not in mine.
Okay, I had my third dialogue option show the current branch and it never moves from the Start branch. I was also able to confirm that my condition for confirming the selected option also works, so the command to Confirm Selected Option should be getting triggered. I can see in YARN that the branches are connected, the number confirms that both options are being recognized, and yet when you put it all together, nothing happens.
Open the debugger and make sure the dialog options objects exist in the scene and are visible.
Temporarily disable the hide events (right-click on the block/Toggle disabled)and set a default visible text to the option objects to see if/when the dialog options text is applied. Then enable the hide events one by one to find which one hides the objects, if that was part of the issue.
I figured out why the text boxes weren’t appearing. At some point I must have accidentally deleted some lines that showed them when the line type was options. I’ve added them back and they show up now. I still can’t select the options though.
What do you mean by error? Do the options hide after pressing Return, does the dialog hide?
Add a second line of text to your branches and try again.
And remember to share updated events when you change them.