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

#1 2012-06-25 17:38:53

ZombieHappines
Scratcher
Registered: 2012-01-19
Posts: 100+

costume

i need help i need for when a costume number is ten it broadcasts you win and stops all


http://i47.tinypic.com/10wr3bq.jpg
http://i50.tinypic.com/2w7onpy.png

Offline

 

#2 2012-06-25 17:47:16

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: costume

when gf clicked
forever if <(costume#) = (10)>
broadcast [win v]
stop all


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#3 2012-06-25 17:52:49

ZombieHappines
Scratcher
Registered: 2012-01-19
Posts: 100+

Re: costume

didnt work


http://i47.tinypic.com/10wr3bq.jpg
http://i50.tinypic.com/2w7onpy.png

Offline

 

#4 2012-06-25 18:05:51

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: costume

What do you want win to do?


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#5 2012-06-25 18:11:47

ZombieHappines
Scratcher
Registered: 2012-01-19
Posts: 100+

Re: costume

oh nvm i know now


http://i47.tinypic.com/10wr3bq.jpg
http://i50.tinypic.com/2w7onpy.png

Offline

 

#6 2012-06-25 18:20:51

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: costume

You should probably use this instead. 

broadcast [win v] and wait
stop all
The waiting part is crucial; that way, the project won't stop until all the scripts that are started by "win" have finished.

Offline

 

Board footer