Reusing conversations

Announcements, support questions, and discussion for the Dialogue System.
lemonjolly_anna
Posts: 17
Joined: Tue May 16, 2023 11:41 pm

Re: Reusing conversations

Post by lemonjolly_anna »

Ok sweet!

The WaitForMessage part of the problemo seems to still be present.
Where a = instantiate a button,
and b = player presses button, which sends message "continueConversation".
wait.jpg
wait.jpg (73.79 KiB) Viewed 157 times

The dialogue doesn't seem to WaitForMessage regardless of above (dialogue window persists and dialogue can be clicked to continue as usual).

Is there an extra step to this like closing the dialogue window or something?
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Reusing conversations

Post by Tony Li »

A few notes:

1. It looks like your Dialogue System installation may be broken. Icons on your dialogue entry nodes are missing. Is your Assets/Editor Default Resources folder missing? This is a Unity special folder; Unity requires an exact location for it. Can you back up your project and then reimport the Dialogue System?
editorDefaultResources.png
editorDefaultResources.png (4.52 KiB) Viewed 156 times

2. As per the info box in the <START> node, leave the <START> node unchanged. Link from <START> to your first "real" node:
waitForMessage.png
waitForMessage.png (19.74 KiB) Viewed 156 times
lemonjolly_anna
Posts: 17
Joined: Tue May 16, 2023 11:41 pm

Re: Reusing conversations

Post by lemonjolly_anna »

I re-imported and moved the "editor default resources" folder, so the icons exist, but still same problemo with the WaitForMessage not waiting for message :(
wait_again.jpg
wait_again.jpg (37.38 KiB) Viewed 148 times
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Reusing conversations

Post by Tony Li »

Hi,

Is WaitForMessage(continueConversation) on the "Prepare yourself" or "You survived the combat" node? I assume "You survived the combat" node since it has the blue icon indicating a sequence.

What sends the "continueConversation" method? Do you have a script that runs the line of code below?

Code: Select all

PixelCrushers.DialogueSystem.Sequencer.Message("continueConversation");
If so, are the spelling and capitalization of the message correct? Are you sure the code is being run? You could try adding a Debug.Log() line before or after that line of code to confirm that it's running.
Post Reply