Ok so if you could help it would be awesome. My problem is that when My hero kills the dragon the dragon does the death thing but then continues to fly around. I want him to die and then change scene but that would be impossible if he keeps flying around invisible. I thought of moving him back a layer. Would that work? The code is like this:
When I receieve [Attack] if <(Dragon Health) < [1]> Say [ROOORGH] for (2) secs Switch to costume [Dragon Dead v] go to x: 0 y: -150 stop scriptAnybody see a fault in my code?
Offline
SillySausage wrote:
Ok so if you could help it would be awesome. My problem is that when My hero kills the dragon the dragon does the death thing but then continues to fly around. I want him to die and then change scene but that would be impossible if he keeps flying around invisible. I thought of moving him back a layer. Would that work? The code is like this:
When I receive [Attack v] if <(Dragon Health) < [1]> Say [ROOORGH] for (2) secs Switch to costume [Dragon Dead v] go to x: (0) y: (-150) stop script endAnybody see a fault in my code?
Ps: The colours in the scratchblock are a bit off but I think you get the jist.
Thanks!
Fixed.
Anyway, a solution to your problem is that you could put this around the dragon'a movement blocks:
if <(Dragon Health) < [1]> hide else Movement scripts... end
Last edited by ErnieParke (2013-01-25 16:44:35)
Offline
Yes! Thank you so much!!!!!!! This solved all my problems! I love the scratch community c:
Offline
SillySausage wrote:
Yes! Thank you so much!!!!!!! This solved all my problems! I love the scratch community c:
Well it is great; isn't it? Also, your welcome! And I hope that you're game will come along just as you want it!
Offline
you need to switch the op. to a equal one
Offline
SillySausage wrote:
Ok so if you could help it would be awesome. My problem is that when My hero kills the dragon the dragon does the death thing but then continues to fly around. I want him to die and then change scene but that would be impossible if he keeps flying around invisible. I thought of moving him back a layer. Would that work? The code is like this:
when I receieve [Attack v] if <(Dragon Health) < [1]> Say [ROOORGH] for (2) secs Switch to costume [Dragon Dead v] go to x: (0) y: (-150) stop scriptAnybody see a fault in my code?
Ps: The colours in the scratchblock are a bit off but I think you get the jist.
Thanks!
FIXED
Last edited by MEOWCAT34 (2013-02-07 16:56:25)
Offline