Hello, I'm creating a 2D flatformer game using the dialogue system.
What I want is to change the function of the cancel subtitle input that the dialog manager has.
My goal is
When cancel subtitle input pressed once, subtitle cancel it's typewriter effects and it shows it's all words at once,
When cancel subtitle input pressed twice, it goes normally cancel subtitle.
I know that DisplaySettings class has GetCancelSubtitleInput().. but I don't know how to hande typewriter effects and apply option per subtitle
How Can I change Cancel Subtitle Input's option?
Re: How Can I change Cancel Subtitle Input's option?
Hi,
My recommendation: Disable Cancel Subtitle Input and Cancel Conversation Input entirely. Set the Key dropdowns to None, and clear the Button fields.
Instead, use continue buttons like in the dialogue UI prefabs that ship with the Dialogue System. They all use StandardUIContinueButtonFastForward components, which have the behavior you describe.
Related:
My recommendation: Disable Cancel Subtitle Input and Cancel Conversation Input entirely. Set the Key dropdowns to None, and clear the Button fields.
Instead, use continue buttons like in the dialogue UI prefabs that ship with the Dialogue System. They all use StandardUIContinueButtonFastForward components, which have the behavior you describe.
Related:
Re: How Can I change Cancel Subtitle Input's option?
Thank you for your kind reply.
Because I am using Bubble Template Standard UI Subject Panel, I successfully put Continue Button in the prefab and use Standard UI Continue Button FastForward to stop TypeWriter,
I still don't know how to implement the functionality that goes to the next subtitle.
Because I am using Bubble Template Standard UI Subject Panel, I successfully put Continue Button in the prefab and use Standard UI Continue Button FastForward to stop TypeWriter,
I still don't know how to implement the functionality that goes to the next subtitle.
Re: How Can I change Cancel Subtitle Input's option?
Hi,
When you click the continue button, if the typewriter is still typing it will fast forward to the end of the text.
If the typewriter is not typing, it should advance to the next subtitle.
Make sure the StandardUIContinueButtonFastForward's Typewriter Effect field is assigned. You can leave the Dialogue UI field unassigned since it's not part of the dialogue UI's hierarchy.
If this doesn't work, check if there are any errors or warnings in the Console window.
When you click the continue button, if the typewriter is still typing it will fast forward to the end of the text.
If the typewriter is not typing, it should advance to the next subtitle.
Make sure the StandardUIContinueButtonFastForward's Typewriter Effect field is assigned. You can leave the Dialogue UI field unassigned since it's not part of the dialogue UI's hierarchy.
If this doesn't work, check if there are any errors or warnings in the Console window.
Re: How Can I change Cancel Subtitle Input's option?
Thank you very much!! I almost done. (_ _)
Now I use Basic Standard Dialogue UI, and it goes exactly what I want.
At last, I want to use Bubble Template Standard UI Subtitle Panel stead of Basic Standard Dialogue UI's NPC Subtitle Panel.
When I switched, bubble appears not above the Game Objects but it appears in fixed position in screen.
Now I use Basic Standard Dialogue UI, and it goes exactly what I want.
At last, I want to use Bubble Template Standard UI Subtitle Panel stead of Basic Standard Dialogue UI's NPC Subtitle Panel.
When I switched, bubble appears not above the Game Objects but it appears in fixed position in screen.
Re: How Can I change Cancel Subtitle Input's option?
I did it!!
Very Thank you for your help. (__)
Very Thank you for your help. (__)
Re: How Can I change Cancel Subtitle Input's option?
Glad to help!