Skip dialogue not working properly

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Esylin
Posts: 45
Joined: Thu Dec 16, 2021 1:21 am

Skip dialogue not working properly

Post by Esylin »

Hi, I wanted to implement "skip dialogue" function to my visual novel. I read another thread here and followed the instruction:

https://www.pixelcrushers.com/phpbb/vie ... gue#p29401

I got SkipAll() method working properly, but there is a problem: It skips ALL conversations, even the different ones, until the next response menu appears.

For example, if I use SkipAll() to skip conversation A until a response menu appears, then skip again after I click on a response. Then I start conversation B, it'll also skip all dialogues in conversation B until the next response menu appears.

Are there any way to control SkipAll() more precisely?

Thank you.
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Skip dialogue not working properly

Post by Tony Li »

Hi,

You may be using an older version. If you want to continue with that version, then to turn off SkipAll set the ConversationControl component's skipAll value to false. Example:

Code: Select all

FindObjectOfType<ConversationControl>().skipAll = false;
In version 2.2.24, the start of every conversation should turn off SkipAll.

If you don't want to write any code, here's an updated version of ConversationControl (which will be in version 2.2.25) with a StopSkipAll() method and checkboxes to automatically turn off SkipAll() when the end of a conversation and/or response menu is reached.

DS_ConversationControl_2022-01-23.unitypackage
Esylin
Posts: 45
Joined: Thu Dec 16, 2021 1:21 am

Re: Skip dialogue not working properly

Post by Esylin »

Tony Li wrote: Sun Jan 23, 2022 8:01 am Hi,

You may be using an older version. If you want to continue with that version, then to turn off SkipAll set the ConversationControl component's skipAll value to false. Example:

Code: Select all

FindObjectOfType<ConversationControl>().skipAll = false;
In version 2.2.24, the start of every conversation should turn off SkipAll.

If you don't want to write any code, here's an updated version of ConversationControl (which will be in version 2.2.25) with a StopSkipAll() method and checkboxes to automatically turn off SkipAll() when the end of a conversation and/or response menu is reached.

DS_ConversationControl_2022-01-23.unitypackage
Thanks. My version is 2.2.22, I'll update it next time and see how it goes. :)
Post Reply