Try this.

Code:
BMAP* dialog_B = "textBox.png";
STRING* final = "";

///Textbox on the bottom of the screen///
PANEL* dialog_Box =
{
	pos_x = 0;
	pos_y = 0;
	layer = 10;
	bmap = dialog_B;
	flags = OVERLAY;
}

///Text wich uses the string "final"///
TEXT* dialog = 
{
	pos_x = 170;
	pos_y = 580;
	font = "Arial#33b";
	string(final);
	flags = SHOW;
	layer = 13;
}

	
////Show Text and Messagebox////
void dialog_On (STRING* npc){
		str_cpy(final,npc);
		set(dialog_Box, SHOW);
		set(dialog, SHOW | OUTLINE);	
}


////Text and Messagebox off////
void dialog_Off(){
		reset(dialog, SHOW | OUTLINE);	
		reset(dialog_Box, SHOW);
}


////Use this to show text and panel/////
dialog_On("This is just a Teststring.");

////Use this to hide text and panel/////
dialog_Off();


Last edited by HellThunder; 12/06/12 17:11.

Create your own JRPG and join our community: https://www.yrpgtoolkit.com