First you need to create a new widget or use an existing one.
Then add a text block to the widget's viewport.
Make the Text Block Variable.
Go to graph. Right-click in the graph and find the Print Text node.
Connect your text block to this node. Set all necessary parameters according to your preferences. It is advisable to use sound in "cue" format and make it repeatable. Start the node with any event.
To stop all printed text, run "Stop Printing" node anywhere. Then all the text will be displayed instantly.
You can set acceleration on stop greater than one to speed up text typing. Pressing stop again prints the entire text.
!!! Rich text does not support styles and paragraphs. You can't move text to another line using Shift+Enter. This function was created to fix a bug that caused the printed word to jump to another line if it ran out of space.
First you need to create a new widget or use an existing one.
Then add a text block to the widget's viewport.
Make the Text Block Variable.
Next Connect the styles as shown.
To change the color, font and size, find and open Style Set.
There will be two rows in this file, the second row "I" responsible for the style of invisible text that is printed after the main one. This was so that the game would understand how much the word takes and not start typing it on the line in which there is not enough space for it.
Change the font and font size on both lines, but the color on the first line only. Leave invisible text invisible.
Go to graph. Right-click in the graph and find the Print Rich Text node.
Connect your text block to this node. Set all necessary parameters according to your preferences. The "Accuracy" parameter determines how many characters of invisible text will be printed before the main one. It is advisable to use sound in "cue" format and make it repeatable. Start the node with any event.
To stop all printed text, run "Stop Printing" node anywhere. Then all the text will be displayed instantly.
You can set acceleration on stop greater than one to speed up text typing. Pressing stop again prints the entire text.
Don't forget to set Auto Wrap Text so that it doesn't print on one line.