By using “Text Animator for Unreal” you can create your own custom typewriters, setting different types of delays between letters and much more.
(If you want to learn about the default typewriter instead, read here).
Adding Custom Typewriters
In order to create a custom typewriter for your game, you need to to create a new blueprint class that inherits from UTypewriterCore .
Fundamental Methods
You have to override/implement the following methods:
float GetWaitAppearanceTimeOf(int charIndex)
It tells the typewriter how much time to wait for each character. This way, you can implement your own special characters that need an unique wait time and more.
You can access the character from the index by doing as follows:
For example, in order to have a different wait time when typing punctuations:
Optional Methods
You can also override the following methods for extra functionalities.
float GetWaitDisappearanceTimeOf(int charIndex)
Override this method in case you want different disappearance wait times/speed. Otherwise, your typewriter will use the same delay as specified by GetWaitAppearanceTimeOf.
✅ That’s it! Really!
👍🏻 Don’t forget to assign a typewriter in the Animated Text Block details.