Page 3 of 3

Re: Delay Typewriter Until Open

Posted: Tue Jun 08, 2021 8:11 am
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.

Re: Delay Typewriter Until Open

Posted: Wed Jun 09, 2021 3:01 pm
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.

Re: Delay Typewriter Until Open

Posted: Wed Jun 09, 2021 3:41 pm
by Tony Li
Is your subtitle panel's Visibility set to Only During Content? If so, try setting it to Always From Start.

Re: Delay Typewriter Until Open

Posted: Thu Jun 10, 2021 5:42 pm
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?

Re: Delay Typewriter Until Open

Posted: Thu Jun 10, 2021 8:26 pm
by Tony Li
Hi,

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