See a few posts down for the code.
Typewriter.Type (int x, int y, int delay, int color, int font,
String text, style, display, optional AudioClip sound,
optional TypewriterFlash flash);
Displays 'text' as typwriter text at 'x' and 'y', in color 'color',
with a delay of 'delay' (in game loops) between characters, using
font 'font'
Style specifies which style you want to use.
Spaces are delayed twice as long as other characters.
All increments are delayed equally.
Spaces are delayed half the length of other characters.
Spaces are randomized to be either half, double or the same as other
characters.
Pass an audio clip name as sound to play a sound with each letter.
Leave it out (or pass as '0') for no sound.
Set TypewriterFlash to eTypewriter_Flash to have the last character flash
in and out, and to eTypewriter_DontFlash to keep the last character
steady.
Display can either be displaying the effect on an Overlay or on a GUI element (either a button or a label)
eg.
Typewriter.Type (5, 185, 3, 65535, eFontNormal, "Write your text here[[AND WATCH IT TYPE ITSELF", eTypewriter_ShortSpace, eTypewriterDisplay_Overlay, aPop);
EDIT BY DUALNAMES: You simply import the module after downloading it from here.
http://duals.agser.me/Modules/Typewriter.zipI've added some extra functionality. Check the header of the module for information and examples.
EDIT BY PHEMAR:
Dualnames' link seems to be broken. Original can be found here:
https://www.dropbox.com/s/vyeujxo7gbr06hk/Typewriter.zip?dl=0