Does anyone know the exact formula for how long 'Say' will keep text on the screen? I have some characters that need to disappear at the exact same time as text disappears.
Thanks in advance.
From the AGS Tidbits & Snippest doc (http://americangirlscouts.org/agswiki/index.php?title=AGS_tidbits_%26_snippets):
The number of gameloops a speech string is displayed:
int gameloops = ((StrLen(text) / game.text_speed) + 1) * GetGameSpeed();
StrLen() is obsolete though, so formatted to new style code, it would be (assuming a String named "text"):
int gameloops = ((text.Length / game.text_speed) + 1) * GetGameSpeed();
Note that the above implies that you can cause a text to be displayed longer, by padding it with spaces.
Thanks. That was exactly what I was looking for.