Had this idea by watching a few youtube vids with that typewriter style text on them (with moviemaker).
A few kudos go to Typo for helping me figure out why the text was being input backwards (really weird error lol).
In case you're wondering, /adid or /adialog stands for animated did or animated dialog.
Anyways, what this does is input text in an animated style way. In effect, it looks as if someone is manually typing it into what you specify. To be used with dialogs only.
Put this in your aliases section.
/adid:
Usage:
/adid dialogname dialogid text
Example:
/adid mp3 7 I am now listening to some funky music!
/adialog does the exact same thing but with dialog titles.
Usage:
/adialog dialogname text
Example:
/adialog mydialog I am viewing a dialog!
adid {
var %x = 1, %y = 50
while (%x <= $len($3-)) {
.timer -m 1 %y did -a $1 $2 $replace($right($left($3-,%x),%x),$chr(32),$chr(160))
inc %x
inc %y 50
}
}
adialog {
var %x = 1, %y = 50
while (%x <= $len($2-)) {
.timer -m 1 %y dialog -t $1 $replace($left($2-,%x),$chr(32),$chr(160))
inc %x
inc %y 50
}
}
The /adid one does not work as when you use it on either normal text or text on a button all that is done is it does each letter and all that is left is the last letter of what you entered. If I chose "This is cool" for it all I would get when it is done is the "l" as it resets the field each time it gets to a new character to add.
Edit: Fixed issue. Solution below.
Use this $replace in place of the one you have for the /adid one and it will work correctly.
$replace($right($left($3-,%x),%x),$chr(32),$chr(160))