Page 1 of 2
"Skip PC Subtitle After Response Menu" isn't working
Posted: Tue May 28, 2019 7:15 pm
by AoF
I've got a gif here showing my DM settings and the issue:
I have "Skip PC Subtitle After Response Menu" checked, but it still says the player's words after picking a response. I do have my Player actor marked as "Is Player." Here's a picture of the conversation:
Here's a picture of my log:
I notice it says, " says " instead of "Player says," so maybe that's the issue? But I don't know what would cause that.
Re: "Skip PC Subtitle After Response Menu" isn't working
Posted: Tue May 28, 2019 9:21 pm
by Tony Li
AoF wrote: ↑Tue May 28, 2019 7:15 pmI notice it says, " says " instead of "Player says," so maybe that's the issue? But I don't know what would cause that.
That's probably the issue.
Scroll up in the Console window to find the line that begins:
Dialogue System: Starting conversation '...
What GameObject is it using as the actor (i.e., player)? Does this GameObject have a Dialogue Actor component? If so, make sure you've set its Actor dropdown to Player.
I also notice that your Dialogue Manager GameObject is named "Dialogue Manager Variant". If you have multiple Dialogue Managers in different scenes, are you sure it's using the right one for this conversation?
Re: "Skip PC Subtitle After Response Menu" isn't working
Posted: Tue May 28, 2019 10:43 pm
by AoF
Yeah it says, "Dialogue System: Starting conversation 'Waking up in your new bedroom', actor=, conversant=Eva (UnityEngine.Transform)"
I don't have a player game object in my scene. My reasoning for that is because it's a first person game, so he wouldn't actually be present in the scene.
Also, in the conversation the Player is selected in the drop down. That's not what it uses?
Re: "Skip PC Subtitle After Response Menu" isn't working
Posted: Tue May 28, 2019 10:51 pm
by AoF
I put a player GO in my scene, and now the top of the log says: "Dialogue System: Starting conversation 'Waking up in your new bedroom', actor=Player (UnityEngine.Transform), conversant=Eva (UnityEngine.Transform).
UnityEngine.Debug:Log(Object, Object)"
But, it still says his lines after making a selection. Here's my player GO:
Here's what the log says:
By the way, I am sharing a single subtitle panel for all the characters. Other than the minimal problems I'm reporting, it seems to work fine. I'm not sure if this is ill advised and can cause these problems though. Here's a picture showing what I'm talking about:
Re: "Skip PC Subtitle After Response Menu" isn't working
Posted: Tue May 28, 2019 11:19 pm
by Tony Li
It uses the Player actor selected in the dialogue entry node's dropdown. Since the Player actor's IsPlayer checkbox is ticked, it knows to show it in a response menu. I only suggested creating a Player GameObject because I thought you might have assigned a different GameObject to the Dialogue System Trigger's Action > Start Conversation > Conversation Actor that might be causing an issue somehow.
If you don't ever want to show the player's subtitle, and the player will always show a response menu even if the menu will only contain one choice, then you can just untick Subtitle Settings > Show PC Subtitles During Line.
But that's more a workaround than a solution. I don't know why it's showing the player's subtitle after the response menu. Have you checked if the conversation's properties have been overridden so that the "Skip PC Subtitle After Response Menu" checkbox is unticked?
If you're still seeing the issue after checking that, I can try to put reproduce it here tomorrow morning.
Re: "Skip PC Subtitle After Response Menu" isn't working
Posted: Tue May 28, 2019 11:27 pm
by AoF
Tony Li wrote: ↑Tue May 28, 2019 11:19 pm
It uses the Player actor selected in the dialogue entry node's dropdown. Since the Player actor's IsPlayer checkbox is ticked, it knows to show it in a response menu. I only suggested creating a Player GameObject because I thought you might have assigned a different GameObject to the Dialogue System Trigger's Action > Start Conversation > Conversation Actor that might be causing an issue somehow.
Ah yeah, I've been leaving that blank:
But I tried dragging in the player/eva into the appropriate fields and it still didn't work.
If you don't ever want to show the player's subtitle, and the player will always show a response menu even if the menu will only contain one choice, then you can just untick Subtitle Settings > Show PC Subtitles During Line.
Unfortunately, I show the PC's dialogue almost as much as I show choices.
I don't know why it's showing the player's subtitle after the response menu. Have you checked if the conversation's properties have been overridden so that the "Skip PC Subtitle After Response Menu" checkbox is unticked?
Unfortunately, it looks like it's still checked in play mode:
If you're still seeing the issue after checking that, I can try to put reproduce it here tomorrow morning.
Sure, I'd be happy to send you my whole game if you want. I'll send it to you in an email.
Re: "Skip PC Subtitle After Response Menu" isn't working
Posted: Tue May 28, 2019 11:56 pm
by Tony Li
Thanks. You can send it to tony (at) pixelcrushers.com. It's probably too big to send as an attachment, so use whatever service you prefer (Google Drive, Dropbox, etc.).
Re: "Skip PC Subtitle After Response Menu" isn't working
Posted: Tue May 28, 2019 11:57 pm
by Tony Li
Never mind, I see you already sent it. I'll download it tomorrow morning and try to reply back soon with an answer.
Re: "Skip PC Subtitle After Response Menu" isn't working
Posted: Wed May 29, 2019 12:19 am
by AoF
Great, thanks!
Re: "Skip PC Subtitle After Response Menu" isn't working
Posted: Wed May 29, 2019 12:54 pm
by Tony Li
I replied to your email.
Quick summary: The Dialogue System got confused when the response menu was preceded by a blank node with a zero-length sequence. Changing it to a group node (i.e., tick the Group checkbox) would have also fixed the extra player subtitle issue, but the catch is that group nodes don't play sequences, so it wouldn't have told your NPC to play its idle state.
I included a patch in the email. This fix will also be in version 2.1.7.