Delay Typewriter Until Open

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: Delay Typewriter Until Open

Post by Tony Li »

junwi21 wrote: Tue Jun 08, 2021 4:43 amHm yes it's better now but now it has this delay before every npc subtitle.
I just want the delay before the first one.
It should only delay when the panel thinks it needs to play the show animation. It sounds like the panel doesn't realize it's visible. Does this happen with the Basic Standard Dialogue UI?
junwi21 wrote: Tue Jun 08, 2021 4:43 amAlso, the word "Player" shows up during the player responses in the name panel then disappears after like a second.
That also seems like an animation issue. Does this happen with the Basic Standard Dialogue UI?

The reason why I am asking if it happens with the Basic Standard Dialogue UI is so we can compare the differences between it and your UI.
junwi21 wrote: Tue Jun 08, 2021 4:43 amAlso the dialogue typewriter text sound only plays like once per word or less - i thought it would play per character.
The typewriter effect has an option to wait until the sound has finished or interrupt itself with each character. By default, it waits until the sound has finished. If your audio file has some silence in it, the typewriter may sound like you describe.
junwi21
Posts: 35
Joined: Wed Jan 27, 2021 12:18 am

Re: Delay Typewriter Until Open

Post by junwi21 »

No, it does not happen with standard UI. It looks like everything is matching up with the settings so idk what the difference is. There is one difference in that I use the same panel for PC and NPC subtitles.

In the animation controller - the problem is that after every subtitle, it goes from the Show state to the Focus state then the Hide state. Then on the next subtitle it repeats. In the basic UI it stays in the Show state. Not sure why my dialogue goes to the Hide state.
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: Delay Typewriter Until Open

Post by Tony Li »

Is your subtitle panel's Visibility set to Only During Content? If so, try setting it to Always From Start.
junwi21
Posts: 35
Joined: Wed Jan 27, 2021 12:18 am

Re: Delay Typewriter Until Open

Post by junwi21 »

Okay, yes that works thank you. I feel like it's confusing for the word "player" to show while the response menu is open though. The player will never speak unless there's choices so can I just have it so only the response menu is used and the speaker is never switched to the player?
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: Delay Typewriter Until Open

Post by Tony Li »

Hi,

Inspect the response menu panel. Remove the PC Portrait and PC Name child GameObjects.
Post Reply