I have the folowing code:
BMAP* my_panel_bmap = "panel.tga";
BMAP* my_panel_clkd_bmap = "panel_clicked.tga";
PANEL* my_panel =
{ layer = 10;
bmap = my_panel_bmap;
event = panel_clicked;
FLAGS = OVERLAY | VISIBLE;
}
function panel_clicked()
{ my_panel.bmap = my_panel_clkd_bmap
wait(10);
my_panel.bmap = my_panel_bmap
}
So as you can see, the panel will basically "light up" (ymy_panel_clkd_bmap) when ever you click on it. But nothing happens. Im pretty sure its not even calling the function to begin with. Is there some other parameter I have to have set? like maybe my_panel.enable_click or something?