Bubble continue button 'skipping' nodes
Posted: Thu Feb 20, 2025 12:31 pm
Hi Tony,
Apologies if this is covered elsewhere but I couldn't find it. Also I think I must be missing something obvious!
Desired behaviour:
In a conversation between player and NPC, the conversation will only ever advance if the player enters a key, i.e. Continue Button is set to Always in the Dialogue Manager. When we press that key, we should move to the next node, or choice if its a choice for the player
Actual behaviour:
When I press the submit key, the conversation is moved on to the next node but then also moves again immediately to the following node i.e. we effectively 'skip' a node / or if its a player choice we default to choose the first one:
I've verified that the key is only being pressed once in the logs.
Setup:
I am using the standard bubble setup outlined here,
https://www.pixelcrushers.com/phpbb/vie ... php?t=2284
With one addition: I have added a continue button to the bubble template, with a UI Button Key Trigger. That ContinueButton object I have dragged into the Bubble Template:
This seems to be causing the 'skipping' behaviour, we seem to be effectively calling Submit/Continue twice - I can see in the Debug logs from the Dialogue Manager the 'skipped' node is referenced.
But without that continue button on the bubble template [i.e. if I disable it], if the Dialogue Manager has the Continue Button set to Always (which I want), then we can't move passed a bubble node once it has displayed, we are stuck.
Other context: using the new input system, the InputSystem UI Input module + events system is in the scene, referencing the actions asset.
My Dialoge Manager settings are below. The Input Device Manager is set to Always Auto Focus if that's relevant.
Hopefully that's clear!
Many thanks
Apologies if this is covered elsewhere but I couldn't find it. Also I think I must be missing something obvious!
Desired behaviour:
In a conversation between player and NPC, the conversation will only ever advance if the player enters a key, i.e. Continue Button is set to Always in the Dialogue Manager. When we press that key, we should move to the next node, or choice if its a choice for the player
Actual behaviour:
When I press the submit key, the conversation is moved on to the next node but then also moves again immediately to the following node i.e. we effectively 'skip' a node / or if its a player choice we default to choose the first one:
I've verified that the key is only being pressed once in the logs.
Setup:
I am using the standard bubble setup outlined here,
https://www.pixelcrushers.com/phpbb/vie ... php?t=2284
With one addition: I have added a continue button to the bubble template, with a UI Button Key Trigger. That ContinueButton object I have dragged into the Bubble Template:
This seems to be causing the 'skipping' behaviour, we seem to be effectively calling Submit/Continue twice - I can see in the Debug logs from the Dialogue Manager the 'skipped' node is referenced.
But without that continue button on the bubble template [i.e. if I disable it], if the Dialogue Manager has the Continue Button set to Always (which I want), then we can't move passed a bubble node once it has displayed, we are stuck.
Other context: using the new input system, the InputSystem UI Input module + events system is in the scene, referencing the actions asset.
My Dialoge Manager settings are below. The Input Device Manager is set to Always Auto Focus if that's relevant.
Hopefully that's clear!
Many thanks