I have a custom conversation UI that mimics a computer interface, and I'm using the typewriter effect to type out the text on the screen and the Response Menu for the navigation system. The problem is that the Response Menu only appears once the NPC subtitle is finished writing out, so you have to wait or click a continue button before navigating.
Essentially, I can't find a way to make it open the next response menu while the text is still being typed out.
Show Response Menu during typewriter effect?
-
- Posts: 3
- Joined: Sat Apr 04, 2020 4:16 pm
Re: Show Response Menu during typewriter effect?
Hi,
Subtitle panels always "clean up" after themselves by stopping the typewriter effect when progressing to the response menu or another subtitle. To override this behavior, replace your subtitle panel's StandardUISubtitlePanel script with this subclass:
CustomStandardUISubtitlePanel.cs
To replace the script in-place, see this post.
Subtitle panels always "clean up" after themselves by stopping the typewriter effect when progressing to the response menu or another subtitle. To override this behavior, replace your subtitle panel's StandardUISubtitlePanel script with this subclass:
CustomStandardUISubtitlePanel.cs
Code: Select all
using PixelCrushers.DialogueSystem;
public class CustomStandardUISubtitlePanel : StandardUISubtitlePanel
{
public override void FinishSubtitle()
{
HideContinueButton();
// Omits line that stops typewriter.
}
}