Try something like this: (not tested)
while(1)
{
vec_set(temp,monster.pos);
vec_to_screen(temp,camera);
panel.pos_x = temp.x - (panel.size_x /2); //to be at center
panel.pos_y = temp.y - 50; //play with this value to place panel above entity
wait(1);
}

Last edited by tompo; 06/28/07 11:44.

Never say never.