Well, i start with 150HP, but the healthbar don't start to decrease until it reaches 100.
I want to tell it that it should count with the "maxhp" not 100.
draw_healthbar(view_xview[0] + 150,view_yview[0] + 25,view_xview[0] + 250,view_yview[0] + 45,obj_player.hp,c_black,c_red,c_green,1,1,1);My variables are:
hp = 150;
maxhp = 150;
Is this a common problem? Or am i just fumbling?
Edited by Fireelight, 29 January 2012 - 03:40 PM.











