obj/window/text
icon='text.dmi'
layer=MOB_LAYER+2
mob/proc/textonscreen(var/Tloc,yloc)
var
T=src.Txt
xloc=1
Tlen=length(T)
do
var/obj/window/text/F=new(src.client)
F.screen_loc="[xloc+Tloc],[yloc]"
F.icon_state=copytext(T,xloc,xloc+1)
client.screen+=F
xloc++
while(xloc<=Tlen)
the only thing is.. i cant think of a way to make the letters close together. i tried:
obj/window/text
icon='text.dmi'
layer=MOB_LAYER+2
mob/proc/textonscreen(var/Tloc,yloc)
var
T=src.Txt
xloc=1
Tlen=length(T)
do
var/obj/window/text/F=new(src.client)
F.screen_loc="[xloc+Tloc],[yloc]"
F.icon_state=copytext(T,xloc,xloc+1)
client.screen+=F
if(xloc>1)
F.screen_loc="[xloc+Tloc]:-[16*(xloc-1)],[yloc]"
xloc++
while(xloc<=Tlen)
but when xloc=ten there was a huge gap in the words.. so anyway if anyone can help me i would really appreciate it.
Hmm... thinking about it again, I'm probably wrong about that. Sorry. =P Worth a try though, and I can't think of anything else at the moment.