Page 1 of 1

SetContinueMode(true) not enabling the continue button

Posted: Mon Feb 15, 2016 10:22 pm
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.

Re: SetContinueMode(true) not enabling the continue button

Posted: Tue Feb 16, 2016 8:53 am
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.

Re: SetContinueMode(true) not enabling the continue button

Posted: Thu Feb 18, 2016 8:57 pm
by Tony Li
I'm running a little behind on the patch, but I'll do my best to have it ready tomorrow!

Re: SetContinueMode(true) not enabling the continue button

Posted: Thu Feb 18, 2016 11:22 pm
by Mike
Thanks for the update :D

Re: SetContinueMode(true) not enabling the continue button

Posted: Sat Feb 20, 2016 12:54 pm
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).