Alice Community

Alice Community (
-   How do I...? (
-   -   Need help in fighting game HP stopping at 0. (

everettphd 12-11-2013 02:05 PM

Need help in fighting game HP stopping at 0.
1 Attachment(s)
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 [email][/email]

fourbros 12-11-2013 08: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 08:27 AM

1 Attachment(s)
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 12: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. :)

All times are GMT -5. The time now is 04:03 AM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.