SetContinueMode Forcing Conversation to Auto Progress

Announcements, support questions, and discussion for the Dialogue System.
jae026
Posts: 51
Joined: Wed Apr 15, 2020 10:22 pm

SetContinueMode Forcing Conversation to Auto Progress

Post by jae026 »

I have a conversation that is pretty simple.

A couple of lines are spoken and then it fades to black, delays for a second and then fades back in and continues to the next
node. I found that through testing that I was able to press the continue button mid fade which would progress to the next node, thus leaving the screen black. So I put in the SetContinueMode(false) and then at the end of the last fade I send a message and when that mesage is sent I set the continue mode back to true and Continue().

Problem is that when I set it to SetContinueMode(false); it is progressing past the node thta has it and continues through until it reaches the last node in the conversation. Whats even more odd is that I see the continue button being disabled on the SetContinueMode(false) node, but it is being enabled almost immediately.

I even made a blank conversation with 3 nodes and put the SetContinueMode(false) on the second node. IT does the same thing. Turns of then back on the continue button and steps through the rest of the conversation.

This is what I am trying to do. Also the odd thing is that I do this in other levels in other conversations but it is only happening in this level and any new conversation. I also took the continue button out of the Dialogue UI Panels button slot but I still see it being disabled at that node call. What else has access to that button. Dialogue Manager?

Code: Select all

SetContinueMode(false)->Message(Stop);

Fade(stay, .75)@Message(Stop)->Message(Sleep);

Delay(2)@Message(Sleep)->Message(Wake);

Fade(in, .75)@Message(Wake)->Message(Fin);

SetContinueMode(true)@Message(Fin)->Message(Go);

Continue()@Message(Go);
jae026
Posts: 51
Joined: Wed Apr 15, 2020 10:22 pm

Re: SetContinueMode Forcing Conversation to Auto Progress

Post by jae026 »

I tried putting required and nothing seems to help. Something is turning back on the button.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: SetContinueMode Forcing Conversation to Auto Progress

Post by Tony Li »

Hi,

Something else must be going on. I copied that exact sequence into a test conversation, and it works as you intend.

Can you back up your project and update to the latest Dialogue System version?

You could also try putting this sequence on one node:

Code: Select all

SetContinueMode(false)->Message(Stop);
Fade(stay, .75)@Message(Stop)->Message(Sleep);
Delay(2)@Message(Sleep)->Message(Wake);
and this sequence on a second node right after it:

Code: Select all

Fade(in, .75)@Message(Wake)->Message(Fin);
SetContinueMode(true)@Message(Fin)->Message(Go);
Continue()@Message(Go);
It might help isolate the issue.

If that doesn't help, can you send a reproduction project or test scene to tony (at) pixelcrushers.com?
jae026
Posts: 51
Joined: Wed Apr 15, 2020 10:22 pm

Re: SetContinueMode Forcing Conversation to Auto Progress

Post by jae026 »

So it automatically advances to the next node even though there is no code telling it to do such.

SetContinueMode(false)->Message(Stop);
Fade(stay, .75)@Message(Stop)->Message(Sleep);
Delay(2)@Message(Sleep)->Message(Wake);

Then it remains stuck at the next node. And the "Bubble Template Standard UI Subtitle Panel Text" becomes disabled.
jae026
Posts: 51
Joined: Wed Apr 15, 2020 10:22 pm

Re: SetContinueMode Forcing Conversation to Auto Progress

Post by jae026 »

I sent you a copy of the projects assets and library folder. The scene name is "Prologue"
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: SetContinueMode Forcing Conversation to Auto Progress

Post by Tony Li »

Hi,

I didn't receive the project. Please double check that you sent it to tony (at) pixelcrushers.com.
(Replace "(at)" with an @ sign.)
jae026
Posts: 51
Joined: Wed Apr 15, 2020 10:22 pm

Re: SetContinueMode Forcing Conversation to Auto Progress

Post by jae026 »

Sent again.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: SetContinueMode Forcing Conversation to Auto Progress

Post by Tony Li »

Thanks! Just got it. I'll reply back by the end of the day.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: SetContinueMode Forcing Conversation to Auto Progress

Post by Tony Li »

Hi,

Would you please zip up the Packages and ProjectSettings folders and email me the zip file?

What steps should I follow to reproduce the issue? For example, what scene do I load, and what do I click when I play it?
jae026
Posts: 51
Joined: Wed Apr 15, 2020 10:22 pm

Re: SetContinueMode Forcing Conversation to Auto Progress

Post by jae026 »

I am sending it now. You just run the Prologue scene and there is a Prologue Scene Controller that calls Start Conversation(xxx) once you hit play.
Post Reply