Skipping conversation to the response menu

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
nehvaleem
Posts: 93
Joined: Tue Sep 10, 2019 4:52 am

Skipping conversation to the response menu

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

Re: Skipping conversation to the response menu

Post 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.
nehvaleem
Posts: 93
Joined: Tue Sep 10, 2019 4:52 am

Re: Skipping conversation to the response menu

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

Re: Skipping conversation to the response menu

Post 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.
Post Reply