I think it variable help i need... I am trying to set a limit the the health in the game i am currently making. its a dynamic text box health rather than a health bar and i dont want the health to exceed 100. Any help?
safe
Male
Joined on 9/17/04
Posted by spurs4eva - May 19th, 2008
I think it variable help i need... I am trying to set a limit the the health in the game i am currently making. its a dynamic text box health rather than a health bar and i dont want the health to exceed 100. Any help?
safe
ibbolia
it should be something like (Please note my programming not good)
if(variable>=100){
...
else{
...
I'm not too good at subtraction programming. This is the best I can do.