Back from the dead......

francisstokes
08 Feb 2005, 22:12
theres a part i my game where you fight a hefty orc.I made the orc's health with a status variable,and run the battle through menus.I made it so the orc isnt displayed at 0,but it works out in the fight,when you win the orcs health is at -5,so the orc doesnt go from the status variable list.Is there any way i can make him go away?

Christopher
09 Feb 2005, 02:17
That's easy. Add in a script that checks the value after each turn, and if the value is less than 0 set it to 0.

paul_one
09 Feb 2005, 07:54
Yes - what Chris said is correct.

You are saying if it's equal to zero, where you should say "less than 1"...