I tried the oode you gave me exactly and it gave me errors.
I have since modified the code to display a txt intead of an entity, still using the method you gave me and it gives me the same errors heres my code:
Bad or missing perameter is the error it gives
STRING try_again_str = "Try Again";
TEXT again_txt =
{
pos_x = 300;
pos_y = 250;
layer = 3;
string (try_again_str);
flags = INVISIBLE;
}
function button_3()
{
set("again_txt",VISIBLE);
}
BMAP background_bmp = "background.bmp";
PANEL background_pan =
{
pos_x = 0;
pos_y = 0;
layer = 0;
bmap = background_bmp;
button (550, 134, "button_3.bmp", "button_3_over.bmp", "button_3_over.bmp", button_3,NULL, NULL);
flags = OVERLAY | VISIBLE;
}
Thanks,
Cactus