PDA

View Full Version : Need help in fighting game HP stopping at 0.


everettphd
12-11-2013, 03:05 PM
I cannot figure out how to make the HP stop at zero because it always continues to go into the negatives.
Anyone have any advice on how this can be done?

Please respond telling me how to do so or download the project file edit it for me and send it back on the forums or to my email at everettphd@gmail.com

fourbros
12-11-2013, 09:19 PM
I haven't downloaded the file but I'll try to help you anyway.

Create an "if else" statement.

Make it where if the hp is less than zero, set the counter back to zero (have it done at 0 seconds)

Hope I was able to help.

MrMoke
12-12-2013, 09:27 AM
Didn't want to download it either.

Fourbros is right on!
Also try if (counter > 0), decrement counter. It can't get to -1 either.

clk4suport
12-23-2013, 01:46 AM
Hello Pal,

Sorry to hear this,,

Right now i don't have any kind of advice for you But later i will come with some very useful for you.

Thank You. :)