Holding down the cancel button while response menu is about to popup will automatically select the first option
Holding down the cancel button while response menu is about to popup will automatically select the first option
Hi ,
This is what I want
1. Cancel button should skip the current dialogue and move to the next one .
2. If Cancel button is pressed when response options are shown , then it should cancel the whole conversation
I have managed to do this by setting both Cancel button and Cancel conversation button to 1 key. However I noticed if I keep cancel button pressed , it does skip the current dialogue (as expected) and wont skip any other dialogues (like it should) , but if response options pop up , it simply selects the first option and skips to next link connected to that option. Also note that I am using auto-focus so that first option will be highlighted by default. Is this a bug ?? if not how can I avoid this ??
You guys have really been helpful over past few weeks and I really appreciate that
Thanks
Nishant
This is what I want
1. Cancel button should skip the current dialogue and move to the next one .
2. If Cancel button is pressed when response options are shown , then it should cancel the whole conversation
I have managed to do this by setting both Cancel button and Cancel conversation button to 1 key. However I noticed if I keep cancel button pressed , it does skip the current dialogue (as expected) and wont skip any other dialogues (like it should) , but if response options pop up , it simply selects the first option and skips to next link connected to that option. Also note that I am using auto-focus so that first option will be highlighted by default. Is this a bug ?? if not how can I avoid this ??
You guys have really been helpful over past few weeks and I really appreciate that
Thanks
Nishant
Re: Holding down the cancel button while response menu is about to popup will automatically select the first option
Hi,
I'll look into this and get back to you today.
I'll look into this and get back to you today.
Re: Holding down the cancel button while response menu is about to popup will automatically select the first option
I will look into reproducing this issue and, if necessary, putting a fix in the upcoming 1.5.6 release.
Re: Holding down the cancel button while response menu is about to popup will automatically select the first option
Hi,
I sent you a PM. I'm hoping you can please provide some additional information.
Thanks!
I sent you a PM. I'm hoping you can please provide some additional information.
Thanks!
Re: Holding down the cancel button while response menu is about to popup will automatically select the first option
Hi ,
I think I was able to reproduce the issue after at change in dialogue system . We decided to add huge delays to every dialogue and give player option to skip dialogue cause we were getting complains that dialogues end too fast . So I did that , added a button to skip current dialogue and go to next and everything works fine . Problems comes when I skip a dialogue which is followed by responses. In that scenario , it doesnt show responses and selects the first response by default . I should also note that I am using Mouse 0 to skip dialogues . I guess this bug arises only when youskip dialogues using mouse 0
Thanks.
I think I was able to reproduce the issue after at change in dialogue system . We decided to add huge delays to every dialogue and give player option to skip dialogue cause we were getting complains that dialogues end too fast . So I did that , added a button to skip current dialogue and go to next and everything works fine . Problems comes when I skip a dialogue which is followed by responses. In that scenario , it doesnt show responses and selects the first response by default . I should also note that I am using Mouse 0 to skip dialogues . I guess this bug arises only when youskip dialogues using mouse 0
Thanks.
Re: Holding down the cancel button while response menu is about to popup will automatically select the first option
Hi Nishant,
What about using the built-in Continue Button feature?
To see it in action:
BTW, step 3 above (Always Force Response Menu) ensures that the conversation always shows a response menu when it's the player's turn to speak. If this is UNticked and the player only has one choice, the conversation will automatically select that choice without showing the response menu.
What about using the built-in Continue Button feature?
To see it in action:
- Open the scene Assets/Dialogue System/Examples/Unity UI Examples/Generic UI Example Scene.
- Inspect the Dialogue Manager, and set Display Settings > Subtitle Settings > Continue Button to Always.
- While you're at it, in your own scene tick Display Settings > Input Settings > Always Force Response Menu.
- Play. Talk to Private Hart. Each line will wait for you to click Continue.
BTW, step 3 above (Always Force Response Menu) ensures that the conversation always shows a response menu when it's the player's turn to speak. If this is UNticked and the player only has one choice, the conversation will automatically select that choice without showing the response menu.
Re: Holding down the cancel button while response menu is about to popup will automatically select the first option
Hi ,
That doesnt seem to fix the issue . Another bug that occurs after setting Continue Button to always is that even empty dialogues "Those with None() sequences " are visible . Currently I am forced to use Escape key to continue dialogues as this issue occurs only when Mouse 0 key is set to cancel dialogue
Thanks.
Nishant
That doesnt seem to fix the issue . Another bug that occurs after setting Continue Button to always is that even empty dialogues "Those with None() sequences " are visible . Currently I am forced to use Escape key to continue dialogues as this issue occurs only when Mouse 0 key is set to cancel dialogue
Thanks.
Nishant
Re: Holding down the cancel button while response menu is about to popup will automatically select the first option
Hi Nishant,
These aren't bugs; they're different behaviors. The Dialogue System supports a lot of different behaviors for different customer needs. We just need to set up the desired behavior that you're looking for. Later today, I'll post an example scene here that implements the behavior that I think you're looking for.
Tony
These aren't bugs; they're different behaviors. The Dialogue System supports a lot of different behaviors for different customer needs. We just need to set up the desired behavior that you're looking for. Later today, I'll post an example scene here that implements the behavior that I think you're looking for.
Tony
Re: Holding down the cancel button while response menu is about to popup will automatically select the first option
Hi Nishant,
Please try this example scene: TestOptionalContinue_2015-10-22.unitypackage
It imports into a folder Test/Test Optional Continue.
Here's how I set it up:
Please try this example scene: TestOptionalContinue_2015-10-22.unitypackage
It imports into a folder Test/Test Optional Continue.
Here's how I set it up:
- Started with a copy of the Generic UI example scene.
- On the Dialogue Manager, set Subtitle Chars Per Second to 5, Min Subtitle Seconds to 10.
- Set the Cancel and Cancel Conversation buttons to Fire1 (left mouse button).
- In the dialogue UI, I unassigned the NPC Subtitle > Continue Button field but left the button GameObject active.
- Ticked Auto Focus.
- Added a "None()" node. In the database, see the "EMPTY NODE" in Private Hart's conversation. Instead of "None()", I used this sequence:
This makes it immediately continue to the next node. I didn't actually have to do this. Since I left the Dialogue Manager's Continue Button mode set to Never, you can still use "None()". I just added this as an example in case you decide to change the Continue Button mode.
Code: Select all
SendMessage(OnContinue,,Dialogue Manager)
Re: Holding down the cancel button while response menu is about to popup will automatically select the first option
Hey Tony,
Yes your example helped a lot .
Thanks .
Nishant
Yes your example helped a lot .
Thanks .
Nishant