How to add texts to scrolling RichTextLabel?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Syl


Got tiles with diferents descriptions and events, and i want them to display it when enterin them, in continual, scrolling logs.

Got also an onready var to get the RichText Label node, but what would be the syntax for that please?

Do you have a visual example of what you are looking for?

Eric Ellingson | 2020-02-10 15:14

It’s ok, gettin the text node when comin on my tiles. There’s no scrollin, just texts replacin texts, but that’s ok. Thxs!

Syl | 2020-02-10 15:45

:bust_in_silhouette: Reply From: Merlin1846

Try something like this

$TextLabelNameExample.text = "RANDOM EXAMPLE TEXT!!!!"

Thxs, that works. But the texts starts on top, and so it doesn’t scroll actually. You’d know a way to make it start at the botom of the richtextlabel, so that you could have an effective scrollin?

Syl | 2020-02-08 17:14

The text will start scrolling, when it’s long enough so it doesn’t fit into the textfield any more.

Instead of using “=” in your script as suggested by Merlin1846, try “+=” to add text to the existing text.

ChristianSF | 2020-07-26 22:59

Ok, thxs managed it.

Syl | 2020-07-26 23:13