SetContinueMode(true) not enabling the continue button

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Mike
Posts: 2
Joined: Mon Feb 15, 2016 10:11 pm

SetContinueMode(true) not enabling the continue button

Post by Mike »

I am trying to disable the continue button for dialogue while my sequence finishes and have seen previous posts suggest SetContinueMode().

I am using the following sequence:

Code: Select all

SetContinueMode(false);
MoveTo(TrailerBeacon, Grandma,2); 
MoveTo(TrailerBeacon2, Grandma)@2;
SetContinueMode(true)@3
Everything works as expected until SetContinueMode(true)@3.
The continue button is disabled for this dialogue entry and the grandma object moves to both beacons.
I can see the SetContinueMode(true)@3 event happening in the console.
However, the continue button is never returned to continue the conversation.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: SetContinueMode(true) not enabling the continue button

Post by Tony Li »

That's a bug, sorry. I'll try to make a patch available by Thursday.

In the meantime, here's a workaround. It's not elegant, but it'll get the job done. Add the last sequencer command below:

Code: Select all

SetContinueMode(false);
MoveTo(TrailerBeacon, Grandma,2); 
MoveTo(TrailerBeacon2, Grandma)@2;
SetContinueMode(true)@3;
SetActive(My Continue Button)@3
where "My Continue Button" is the name of your continue button GameObject.

I'll post back here when the patch is available.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: SetContinueMode(true) not enabling the continue button

Post by Tony Li »

I'm running a little behind on the patch, but I'll do my best to have it ready tomorrow!
Mike
Posts: 2
Joined: Mon Feb 15, 2016 10:11 pm

Re: SetContinueMode(true) not enabling the continue button

Post by Mike »

Thanks for the update :D
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: SetContinueMode(true) not enabling the continue button

Post by Tony Li »

Patch 1.5.9 2016-02-20 is finally available on the Pixel Crushers customer download site! This patch contains the fix for SetContinueMode(true).
Post Reply