I have a man that puts out fire, when the water intersects the fire sprite
it puts the fire.width to the fire.width-10. When its width is less than 0
it will put the loc h of the fire to -1000.
PROBLEM : When leaving the frame, then returning the fire is back as its
origional in its origional state..
Heres the code:
on enterframe me
repeat with i = 35 down to 26
if sprite i intersects sprite(me.spritenum) then
sendallsprites #wet, fire
sprite(me.spritenum).width=sprite(me.spritenum).width-10
end if
end repeat
end enterframe me
on exitframe me
if sprite(me.spritenum).width<=0 then
sprite(me.spritenum).loch=-100
end if
end
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]