As the title description says, I need to know how I can create digits above a specific units head. I tried to change the x and y coordinate with something like "my.pos_x or player.pos_x" and so on, but I really don't have a clue how I can define the top of the unit.
My code:
player_life = 100
...
PANEL* player_life_pan =
{
pos_x = player.pos_x; <<< Not working
pos_y = player.pos_y; <<< Not working
digits(10, 10, 5, "Arial#50b", 1, player_life;
}
Any help is highly appreciated