Hi. I have a panel that comes up when it is supposed to, however it wont go away afterwards.Ive tried for hours and cant find out why this is so. My problem lies in the function I think. I have tried even using alpha even to try to make this dissappear. Its a one off panel. Thanks so much for any help
here is my script
bmap intro2 = <intro2.bmp>;//this panel shows the intro2 panel
panel introletter
{
bmap = intro2;
layer = 1; //this is lowest layer anything higher will override this
pos_x = 200; ///Coordinates of picture///
pos_y = 200; //up/down
flags = visible,refresh,d3d;/// use overlay to remove pure black colour///
}
function remove_intro2()
{
introletter.visible = off;\\i think this should turn it off, but it does not
sleep(5);
bmap_purge (intro2);\\this is to remove it from video memory.
}