Page 1 of 1

Initialize continue button when loading scene

Posted: Sun Aug 13, 2017 3:49 am
by minomod
1. Always set to scene 1
2. Always set to 2 scene
3. Loading 2 scenes from scene 1
4. 2 The scene has the Always setting initialized to Never (default)
5. If you stop the game and see 2 scenes, it is set to Always.

Re: Initialize continue button when loading scene

Posted: Sun Aug 13, 2017 10:42 am
by Tony Li
Hi,

Can you please give me more details?

Are Dont Destroy On Load and Allow Only One Instance ticked in the Dialogue Manager in Scene 1? If so, the Dialogue Manager from Scene 1 (with Continue Button set to Always) should be present.

Can you send an example project to tony (at) pixelcrushers.com?

Re: Initialize continue button when loading scene

Posted: Mon Aug 14, 2017 11:10 am
by minomod
Sequence
SetContinueMode(false);

1. Write the relevant information at the end of the conversation.
2. When the conversation is over, it changes to Always -> Never.

Re: Initialize continue button when loading scene

Posted: Mon Aug 14, 2017 12:05 pm
by Tony Li
"SetContinueMode(false)" sets the Continue Mode to Never.

If you want to restore its previous value, use "SetContinueMode(original)" before ending the conversation. If you want to force it to Always, use "SetContinueMode(true)".

Re: Initialize continue button when loading scene

Posted: Tue Aug 15, 2017 12:58 am
by minomod
Fixed it by adding SetContinueMode (true) to Start when we go to the next scene and start the conversation.
Thank you