Pages: 1
So, make a variable for health, and subtract one from 'health' every time it gets hit. If the boss sprite was hit with an extra powerful move, subtract more from that variable. Then, put this script:
when gf clicked
forever
if <(health)=[0]>
Insert scripts on what happens to the boss sprite here
else
end
Last edited by humhumgames (2012-09-01 12:27:08)
Offline
humhumgames wrote:
when gf clicked forever if <(health) < [1]> Insert scripts on what happens to the boss sprite here
this will work better
Last edited by Wes64 (2012-09-01 16:43:00)
Offline
dvd4 wrote:
when gf clicked forever if (I am dead) die
I don't think that will work...
@Wes64: you're right. Thanks.
Offline
humhumgames wrote:
dvd4 wrote:
when gf clicked forever if (I am dead) dieI don't think that will work...
@Wes64: you're right. Thanks.![]()
really ?
Offline
Just make it when the player picks up the power up, it broadcasts something, then when I receive (value/word) Then you edit however he is suppose to die, such as, if he has health, put it to 0 and then hide the sprite.
Offline
Pages: 1