Rewind for Dialogue Text

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
simplepleasuresdxy
Posts: 73
Joined: Tue Jul 25, 2023 1:34 am

Rewind for Dialogue Text

Post by simplepleasuresdxy »

Is there a way to scroll back to a previous text box in the dialogue? Like using the mouse wheel?
User avatar
Tony Li
Posts: 22119
Joined: Thu Jul 18, 2013 1:27 pm

Re: Rewind for Dialogue Text

Post by Tony Li »

Hi,

Yes. The default way is to use a dialogue UI that has only one subtitle panel. Tick that subtitle panel's Accumulate Text checkbox. I suggest temporarily playing with the WRPG Dialogue UI or Scrolling Dialogue UI to get an idea of how it works -- for example, assigning either of those prefabs to the Dialogue Manager's Display Settings > Dialogue UI in DemoScene1 and then talking to the Private Hart NPC. You'll probably want to tick the Dialogue Manager's Subtitle Settings > Show PC Subtitles During Line and UNtick Skip PC Subtitle After Response Menu.

Once you've seen how that works, see this post to make it work with a dialogue UI that has multiple subtitle panels:
How To: Accumulate Text With Multiple Subtitle Panels
simplepleasuresdxy
Posts: 73
Joined: Tue Jul 25, 2023 1:34 am

Re: Rewind for Dialogue Text

Post by simplepleasuresdxy »

Hi tony, I was actually hoping rather than having a scrolling dialogue UI, to have it be more like the text panel plays the previous box instead. It's a very common Visual Novel feature to be able to go back to a previous panel so that you can see what was said.


Rather than it being like
----
"Talk talk talk"

"Talk 2 talk two"
----



it would be like
---
"Talk talk talk"
---
"Talk 2, talk 2"
---

(Scroll back)
"Talk talk talk"


Any advice?
User avatar
Tony Li
Posts: 22119
Joined: Thu Jul 18, 2013 1:27 pm

Re: Rewind for Dialogue Text

Post by Tony Li »

Got it. Please see this example. Heiden uses that, or something similar, in all of their games, which are all visual novel hybrids.
simplepleasuresdxy
Posts: 73
Joined: Tue Jul 25, 2023 1:34 am

Re: Rewind for Dialogue Text

Post by simplepleasuresdxy »

Uhh ... I feel like there's still some miscommunication

I just want a back button is all, hahaha. Having it list out like just doesn't interest me.
User avatar
Tony Li
Posts: 22119
Joined: Thu Jul 18, 2013 1:27 pm

Re: Rewind for Dialogue Text

Post by Tony Li »

Oh, so you can backtrack to a previous point in the conversation? If so, see the Backtracking Example (direct download) on the Extras page.
Post Reply