This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-04-29 15:36:59

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Health Depletion

I have a health depletion script in Air Dodge but if the plane hits a missile, it instantly dies.  I want it to have 5 hits before it dies.  Anyone know how to?


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#2 2012-04-29 15:54:53

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Health Depletion

When gf clicked
forever if <touching [Missile v] ?>
Change [Health v] by [-1]
wait until <not<touching [Missile v] ?>>
end

Last edited by CheeseMunchy (2012-04-29 15:58:59)


6418,

Offline

 

#3 2012-04-29 16:02:11

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Health Depletion

Great.  It's all better now!


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

Board footer