Page 1 of 1
Conversation skipping player
Posted: Tue Jan 25, 2022 12:41 pm
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.
Re: Conversation skipping player
Posted: Tue Jan 25, 2022 12:49 pm
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.
Re: Conversation skipping player
Posted: Tue Jan 25, 2022 12:55 pm
by ThomasDL
Your first suggestion worked! Thanks a bunch!
Re: Conversation skipping player
Posted: Tue Jan 25, 2022 1:06 pm
by Tony Li
Happy to help!
Re: Conversation skipping player
Posted: Tue Jan 25, 2022 4:14 pm
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...
Re: Conversation skipping player
Posted: Tue Jan 25, 2022 5:04 pm
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.