Page 1 of 1

Skipping conversation to the response menu

Posted: Sun Oct 24, 2021 7:02 am
by nehvaleem
Hi
What would be the recommended approach to be able to skip the current conversation to the next response menu (or entirely if no response menu is present in it)?

Is there any sequencer command or anything like it?

I think that Ink has something similar in their API called ContinueMaximally().

Re: Skipping conversation to the response menu

Posted: Sun Oct 24, 2021 9:05 am
by Tony Li
Hi,

Version 2.2.19+ has a ConversationControl component with two methods: ToggleAutoPlay() [essentially toggles continue button mode] and SkipAll() [skips to response menu].

Try adding it to the Dialogue Manager and calling SkipAll(). If you notice any issues between this script and the Ink integration, please let me know.

Re: Skipping conversation to the response menu

Posted: Sun Oct 24, 2021 9:56 am
by nehvaleem
I am really amazed how you continue to give us the best support that anyone can imagine! Thank you so much!

It seems that it needs to be added to the UI GameObject, since it

Code: Select all

[RequireComponent(typeof(AbstractDialogueUI))]
but I can work with that. Thanks!

Re: Skipping conversation to the response menu

Posted: Sun Oct 24, 2021 2:34 pm
by Tony Li
Ah, that's right. Sorry about the wrong info. It's on the dialogue UI so you can hook up a UI button's OnClick() to either method if you want to.