when you try to skip the last line of conversation by pressing the mouse button while the cursor is on the DialogueList, it will click the DialogueList even though you clicked it before the conversation disappeared.
I understand the issue, but I cannot recreate it. What Unity version are you using?
Try adding a brief Engine: Wait Action to the end of a given dialogue option chain, after the last line but before the return to the Conversation - does that prevent it?
Also, is there a way to not display the GK Conversation when the dialogue is not a part of the conversation but in the same actionlist?
You can use the Menu: Change state Action to temporarily lock it. A locked menu will not appear even when its "Appear type" condition is met.
Try adding a brief Engine: Wait Action to the end of a given dialogue option chain, after the last line but before the return to the Conversation - does that prevent it?
Yes, if I added engine wait time, that resolved it. I am using Unity 2022.3.50f1
You can use the Menu: Change state Action to temporarily lock it. A locked menu will not appear even when its "Appear type" condition is met.
Doing it this way the subtitles won't appear anymore, even though it's not in the "Menus To Lock" section of the GK Conversations script.
Doing it this way the subtitles won't appear anymore, even though it's not in the "Menus To Lock" section of the GK Conversations script.
The effects of the GK Conversation script will still be felt this way. To disable the GK system completely, instead use the Object: Call event Action to invoke the BeginDialogueMode / EndDialogueMode functions. There should be a note about this in the included Readme file.
Hi @ChrisIceBox , there seems to be a bug with GK Conversations when toggling speeches on. The DialogueList doens't update after the first speech is toggled on.
Another bug is when the game is paused while the conversation is going on(with DialogueList disabled), the DialogueList doesn't come back on after unpaused.
How are you enabling the GK Conversation menu in these? Through the use of the "Auto Conversation" slot, or manually through the "Engine: Call event" Action?
How are you enabling the GK Conversation menu in these? Through the use of the "Auto Conversation" slot, or manually through the "Engine: Call event" Action?
Try adding a brief Engine: Wait Action to the end of a given dialogue option chain, after the last line but before the return to the Conversation - does that prevent it?
Thank you @ChrisIceBox , will you also be able to add some delays so we don't have to add the Engine: Wait after each line?
Hi @ChrisIceBox , Just downloaded the latest package and did some testing.
I would need to be able to recreate the original issue on my end - clicking options while lines play - but i have not yet been able to do so.
After testing out the new package on an empty project, I realized that this issue only happens if "subtitles can be skipped" is checked. When this is enabled and the player is trying to skip the dialogue by clicking the mouse button(while hovering on the DialogueList, this issue comes up.
Sorry, what do you mean by "toggled on"? Can you share steps to recreate the issue from the example scene?
Did some more testing with the dialogue toggling not showing up on the DialogueList issue, somehow they show up if I pause and unpause the game. I guess the UI is not refreshing?
The script line references the "PlayerSubs" label element in the GK_Conversation menu. Does this still exist, or was it renamed/removed?
Yes the "PlayerSubs" is still there. If I changed to the GameEngine in the "GabrielKnightExample" scene, the errors go away. But I compared mine and this GameEngine side by side, couldn't find the difference.
I have updated the package with a fix for the click issue. I cannot recreate the toggle issue, however.
Yes the "PlayerSubs" is still there. If I changed to the GameEngine in the "GabrielKnightExample" scene, the errors go away. But I compared mine and this GameEngine side by side, couldn't find the difference.
Conversely, placing your GameEngine into the example scene stops it from working?
Comments
I understand the issue, but I cannot recreate it. What Unity version are you using?
Try adding a brief Engine: Wait Action to the end of a given dialogue option chain, after the last line but before the return to the Conversation - does that prevent it?
You can use the Menu: Change state Action to temporarily lock it. A locked menu will not appear even when its "Appear type" condition is met.
Yes, if I added engine wait time, that resolved it. I am using Unity 2022.3.50f1
Doing it this way the subtitles won't appear anymore, even though it's not in the "Menus To Lock" section of the GK Conversations script.
The effects of the GK Conversation script will still be felt this way. To disable the GK system completely, instead use the Object: Call event Action to invoke the BeginDialogueMode / EndDialogueMode functions. There should be a note about this in the included Readme file.
It seems like there's no way to get rid of what's in the "Auto Conversation" slot of the Gabriel Knight Conversations script, it just auto asigns.
It'll auto-assign any Conversation it's attached to. If you don't want to have this occur, just move the component itself to a separate GameObject.
ah ic. Got it. thanks.
Hi @ChrisIceBox , there seems to be a bug with GK Conversations when toggling speeches on. The DialogueList doens't update after the first speech is toggled on.
Sorry, what do you mean by "toggled on"? Can you share steps to recreate the issue from the example scene?
Here's an image of the action list of my test. Basically just toggling the a few dialogue on during the conversation.https://drive.google.com/file/d/1UQtAgtqd_9oY3GPJYgx_-9j7NXEKKzCo/view?usp=sharing
Another bug is when the game is paused while the conversation is going on(with DialogueList disabled), the DialogueList doesn't come back on after unpaused.
How are you enabling the GK Conversation menu in these? Through the use of the "Auto Conversation" slot, or manually through the "Engine: Call event" Action?
I tried both, same thing.
Recreated, thanks - I'll look into this.
Thank you @ChrisIceBox , will you also be able to add some delays so we don't have to add the Engine: Wait after each line?
I would need to be able to recreate the original issue on my end - clicking options while lines play - but i have not yet been able to do so.
I have updated the package's script file with a fix for the pause/unpause issue.
Hi @ChrisIceBox , Just downloaded the latest package and did some testing.
After testing out the new package on an empty project, I realized that this issue only happens if "subtitles can be skipped" is checked. When this is enabled and the player is trying to skip the dialogue by clicking the mouse button(while hovering on the DialogueList, this issue comes up.
Did some more testing with the dialogue toggling not showing up on the DialogueList issue, somehow they show up if I pause and unpause the game. I guess the UI is not refreshing?
Also I got these errors with the latest package using my original "GameEngine" in the scene, is there a setting I need to change in the GameEngine?
https://drive.google.com/file/d/1UWaecZP0qUxi6jttk9PJ49Me8b_h4hdQ/view?usp=sharing
I may have recreated this, I will look into it further.
The script line references the "PlayerSubs" label element in the GK_Conversation menu. Does this still exist, or was it renamed/removed?
Yes the "PlayerSubs" is still there. If I changed to the GameEngine in the "GabrielKnightExample" scene, the errors go away. But I compared mine and this GameEngine side by side, couldn't find the difference.
I have updated the package with a fix for the click issue. I cannot recreate the toggle issue, however.
Conversely, placing your GameEngine into the example scene stops it from working?
Correct, and there's no error. The GK conversation doesn't show up.
For the toggle issue, in the GK example scene, just disable the 2nd and 3rd dialogue options, and have them toggled on in the action list during the conversation. You will see that anything after the first toggle won't show up.
https://drive.google.com/file/d/1UwfGC0V3M38TEYnnsapYD4-RuNtl5jbi/view?usp=sharing