Conversation skipping player

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ThomasDL
Posts: 9
Joined: Tue Jan 25, 2022 12:33 pm

Conversation skipping player

Post by ThomasDL »

Hi,

I've just bought your dialogue system and I really like it so far!

I'm trying to test different things and a problem has come up. In my test conversation, the dialogue always skip the player for some reason. I have 3 different people in the conversation, the player and 2 NPCs, and the player's lines are not shown or skipped, even if it's setupped the same way as the NPCs, with a dialogue actor component that specifies its the player actor. The NPCs shown their dialogue lines just fine.
Attachments
DialogueProblem2.jpg
DialogueProblem2.jpg (298.61 KiB) Viewed 293 times
DialogueProblem1.jpg
DialogueProblem1.jpg (349.19 KiB) Viewed 293 times
User avatar
Tony Li
Posts: 22154
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation skipping player

Post by Tony Li »

Hi,

Thanks for using the Dialogue System!

If the problem is that the player's dialogue text isn't appearing as a subtitle, inspect the Dialogue Manager GameObject. Tick Display Settings > Subtitle Settings > Show PC Subtitles During Line. You may also want to untick Skip PC Subtitle After Response Menu.

If you want to show single player nodes as subtitles instead of response menus, untick Input Settings > Always Force Response Menu.

If the problem is that the player has two or more nodes to choose from, but no response menu appears, make sure the dialogue UI has a response menu. If it does have a response menu but it's not appearing, check the Console window for any relevant messages.
ThomasDL
Posts: 9
Joined: Tue Jan 25, 2022 12:33 pm

Re: Conversation skipping player

Post by ThomasDL »

Your first suggestion worked! Thanks a bunch!
User avatar
Tony Li
Posts: 22154
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation skipping player

Post by Tony Li »

Happy to help! :-)
ThomasDL
Posts: 9
Joined: Tue Jan 25, 2022 12:33 pm

Re: Conversation skipping player

Post by ThomasDL »

Follow up questions:

1. How do I add a typewriter effect?
2. How to change the key needed to select an option in the menu? Right now it's space, but I want it to be "E".

I'm sure the answer is really simple and right in my face but I can't seem to find it...
User avatar
Tony Li
Posts: 22154
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation skipping player

Post by Tony Li »

Hi,
ThomasDL wrote: Tue Jan 25, 2022 4:14 pm1. How do I add a typewriter effect?
If you're using UI Text, add a UnityUITypewriterEffect component to the Subtitle Text GameObject.

If you're using TextMesh Pro (see TextMesh Pro Support), add TextMeshProTypewriterEffect.

If you decide to use the Text Animator for Unity asset, it has its own typewriter effect.
ThomasDL wrote: Tue Jan 25, 2022 4:14 pm2. How to change the key needed to select an option in the menu? Right now it's space, but I want it to be "E".
The Dialogue System's menus use the standard Unity UI Event System. The Event System reads the 'Submit' input to select UI Buttons such as the menu options.

Assuming you're using Unity's built-in input system, select menu item Edit > Project Settings > Input. Locate the 'Submit' entries, and add the 'e' key to one of them.
Post Reply