Hey guys
got a simple question to the pan_setvar command.
PANEL* item_amount =
{
pos_x = 0;
pos_y = 0;
layer = 4;
digits(624, 202, 3, tahoma2, 1, potion_owned);
}
function testing_items()
{
if(potion_owned > 0)
{
(item01.pstring)[0] = potion;
item01.flags = VISIBLE;
pan_setvar(item_amount, 1, 1, potion_owned);
item_anzahl.flags = VISIBLE;
}
else
{
item01.flags = NULL;
pan_setvar(item_amount, 1, 1, here's my problem.);
}
}
what do I have to type in there, when i want it to show Nothing. no matter what I type in there, the engine shows me at least "0". but I want it to show nothing in that case. so how do I solve that?
because I don't want to blank out the panel. cause i want to define all digits I need for that. I don't want to make a panel for every empty space I need.
greets Roxas
Last edited by Roxas; 05/22/08 15:32.