Discuss Scratch

MeepTMW
Scratcher
4 posts

Issue with a spontaneously reverting variable

Hello!

This is my project I have been working on for a computer topic. It is an Age-of-War themed project:

http://scratch.mit.edu/projects/18655838/

My issue here is that Pinnochio (support/bow unit) constantly reverts his health when his health drops below zero, and I can't seem to figure out the reason. I copied Gingy's (infantry/ S-INF-1) code and converted into S-SUP-1, but it didn't seem to help, so i think it's a glitch outside of Pinnochio. Somebody please help me when you can c:

Thanks!

– MeepTMW
drmcw
Scratcher
1000+ posts

Issue with a spontaneously reverting variable

S-SE-! has a forever loop which resets pinochio's HP instead of itself.

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
MeepTMW
Scratcher
4 posts

Issue with a spontaneously reverting variable

drmcw wrote:

S-SE-! has a forever loop which resets pinochio's HP instead of itself.

Thank you, I solved the issue with this and pinnochio (S-SUP1) is no longer invincible.
When I release this to the community I will be sure to credit you for assistance!

Thanks
MeepTMW

Powered by DjangoBB