I've done my research, and I got the text typing out no problem. But instead of filling the full bounds of the maptext before pushing any up, it just keeps pushing every new line up. It's probably because of how native maptext works, but it completely ruins the effect in the place I want to use it in.
So is there any way to fix this? I'm thinking there must be, but I don't want to be wrong and waste hours hunting.
I'd also like to know if this would be a really bad idea to use in a multi-player game given that I know it could potentially be a bit hard on the CPU if several players are doing it at once. Although I doubt that would happen much.
If the code I'm using is needed, here it is...
NPCMessage(msg)
src.client.screen += npcchatgui
src.client.screen += src.npcchat
src.allowmove = 0
for(var/T=2 to length(msg) step 2)
src.npcchat.maptext = copytext(msg,1,T+1)
sleep(1)
src.npcchat.maptext = "[msg]"
while(src.alertcheck == null)
sleep(1)
if(src.alertcheck == "Okay")
src.allowmove = 1
src.alertcheck = null
src.client.screen -= npcchatgui
src.client.screen -= src.npcchat
return "Okay"
And if a better example than just a games name is needed for what I am trying to do, here is a video: https://youtu.be/YSGjvBxYf_s?t=20s