Initialize continue button when loading scene

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Initialize continue button when loading scene

Post 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.
Attachments
1.png
1.png (110.81 KiB) Viewed 527 times
User avatar
Tony Li
Posts: 21050
Joined: Thu Jul 18, 2013 1:27 pm

Re: Initialize continue button when loading scene

Post 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?
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Initialize continue button when loading scene

Post 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.
User avatar
Tony Li
Posts: 21050
Joined: Thu Jul 18, 2013 1:27 pm

Re: Initialize continue button when loading scene

Post 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)".
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Initialize continue button when loading scene

Post by minomod »

Fixed it by adding SetContinueMode (true) to Start when we go to the next scene and start the conversation.
Thank you
Post Reply