Contact Info / Websites

Entry #1

Help with variable?

2008-05-19 16:42:37 by spurs4eva

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


Comments

You must be logged in to comment on this post.


ibboliaibbolia

2008-05-19 16:51:17

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.