Code:
// /////////////////////////////////////////////////
/*
1 = name
2 = message
3 = face
4 = side 0-left 1-right
//////////////////////////////////////////////////////////
*/
if(x<0){x=0}
if(y<150){y=150}
x1=10+x
y1=-140+y
end_text=0;
text_out=""
name_char=argument0;
text_in = argument1
//face = argument2
//side_turn = argument3
if(end_text=0)
{
if(count<string_length(text_in))
{
count+=1
}
else
{
end_text=1
}
text_out+=string_copy(text_in,0,count)
}
//////////////// Face //////////////////////////////////////////////
/*if(side_turn==0)
draw_sprite(face,0,view_xview+(view_wview-256),view_yview) // Face Charactor
if(side_turn==1)
draw_sprite(face,0,view_xview,view_yview) // Face Charactor*/
////////////// Background//////////////////////////////////////////////
//draw_background(message_spr,view_xview,400)
draw_sprite(argument3,-1,x,y)
//////////////////////////// Text ///////////////////////////////////
draw_set_color(c_black)
draw_text(x1+1,y1,name_char+" # "+text_out) // Text
draw_text(x1-1,y1,name_char+" # "+text_out) // Text
draw_text(x1,y1-1,name_char+" # "+text_out) // Text
draw_text(x1,y1+1,name_char+" # "+text_out) // Text
draw_set_color(argument2)
draw_text(x1,y1,name_char+" # "+text_out) // Text