Ive given it a shot but cant seem to get it to work right. Ive decied to use the health var to display atm because my damage is computed from a random defence/atack varibles. I dont need a health above char i do already have a working health bar above my enemys here is what i have

PANEL health_pan =
{
bmap = health_map;
digits(0,0,4,health_fnt,10,health);
//flags = transparent,d3d,VISIBLE;
flags = VISIBLE;

}



function health_panel()
{
while(1)
{
vec_set(temp,my.x);
if (vec_to_screen(temp,camera)) // if visible on screen
{
health_pan.pos_x = temp.x; // place the flare panel
health_pan.pos_y = temp.y;
health_pan.visible = on;
} else
{
//health_pan.visible = off; // otherwise disable it
}
wait(1);
}
}

thanks in advance