Restricting Skipping

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
cfemen
Posts: 2
Joined: Tue Apr 14, 2015 1:36 am

Restricting Skipping

Post by cfemen »

Hello,



i using Dialogue Systeme, since a few Days for my new Mobile-Project.



My game has some necessary ""Story-Points" with Self-Dialogues / Party Dialogues.



There i need some help, how can i Restrict that the Player can Skip the Dialogue with Escape / Android Back-Button?







Thanks for every Help



Greetings.


User avatar
Tony Li
Posts: 21636
Joined: Thu Jul 18, 2013 1:27 pm

Restricting Skipping

Post by Tony Li »

Hello,



Inspect the Dialogue Manager GameObject. Set Display Settings > Input Settings > Cancel Conversation. You can set a key (such as Escape) and/or a button name that you've defined in Unity's input settings (Edit > Project Settings > Input).







By default, the Cancel Conversation key is set to Escape, and no button name is set.







If you want to prevent the player from cancelling, set the key to None, and clear the button name field.







In code, you can set DialogueManager.DisplaySettings.inputSettings.cancelConversation.
cfemen
Posts: 2
Joined: Tue Apr 14, 2015 1:36 am

Restricting Skipping

Post by cfemen »

Hi,



Yeah its work perfectly, thank you for the fast help!
User avatar
Tony Li
Posts: 21636
Joined: Thu Jul 18, 2013 1:27 pm

Restricting Skipping

Post by Tony Li »

Happy to help!
Post Reply