Scrolling text in dialogue box?

So, I’ve searched just about everywhere at this point and come back with nothing each time, so I’ve taken to the community here.

My question is, how can I create a dialogue box containing a character portrait, text that scrolls (in the terms of the text being unveiled.) and a “voice” sound that plays with every letter, my examples would be the text boxes in Undertale, Rebound, Legend of Mana, etc.

Any help available? This is, unfortunately, one of the key features of my game, and it is hard to start without knowing how to pull this off, so thank you in advance.

1 Like

and a “voice” sound that plays with
every letter

Could you elaborate about this one a bit?

When it comes to scrolling text, you should be able to achieve it easily with a Scrollbox + Getting & Setting its offset. - this approach will be better if you want the user to interact with the scroll (speed it up)

An alternative method is a widget animation shifting the text box (or the panel of choice) vertically. This will be easier to set up but probably less practical when it comes to interactivity.

1 Like

So, as it is with games like Rebound when a character speaks, the letters are unveiled one by one at a very fast rate, but a sound plays with every letter, a sound that’s unique to every character. I’d say this is a good example.

So, with each letter that shows up, a sound will play with it. All the text box should do is display the portrait of a character, which I can easily do with an image, display scrolling text, as in each letter showing up in order from left to right, and a single "voice" sample should play with every letter.

I don’t assume UE4 stores each letter as a value that’s accessible, which is why I doubt this is possible, but it never hurts to ask. Any practical method available that only allows the player to press Enter or something similar to move on to the next text or clear it from the screen? There should really be no interactives within the text.

Maybe the OP means “voicing” each word as it scrolls, as a “voice” sound per letter would be quite weird. As for the “scrolling text” I actually have a tutorial showing how you can create that.

This prints out one letter at a time like a type-writer:

This one scrolls a sentence across the screen like news tickers on TV:

I think I get it now, thanks @Nebula and @anonymous_user_a7a0cada for the clarification. The tutorial says it all.

Here’s my take on it:

249800-whierarchy.png

The text block has Auto Wrap Text ticked in its Wrapping panel.

Vid (warning, loud, annoying sounds):

https://drive.google.com/open?id=1z-inxc-D_3i3I9UUS6m2XawJOPD3EsaL

I am no sure who you’re talking to. I can’t speak for the tutorial but the entire logic is contained in that one pic.

Right click in the graph and search for Custom Event - you can then create and name it the way you want.
This event will be called 10 / second by the Timer.

I believe that may be it. Forgive me if I’m wrong, but I do not believe the custom event you have here is already within the engine? I haven’t finished the tutorial yet, so if I create “PrintNextLetter” in the tutorial, let me know. If not, what’s in the custom event?

Haha me either but I used a loop with delay not a timer in my tutorial so I don’t think the question is for me. My tutorials were my own version of doing it similar but not identical to the screenshots above.

I see, understood. Thanks so much, guys.