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

#1 2011-06-27 14:47:19

frizzlepuss893
Scratcher
Registered: 2011-06-10
Posts: 100+

pick random costume

i want the script to pick a random number beetween 2 and 13 and switch to the costume that matches that number. how do i do that?


"Wait, what?"-Frizzlepuss. Jumpathon 5! play now!
The scratch song! Congratulations scratch! 2 million projects!

Offline

 

#2 2011-06-27 14:53:48

frizzlepuss893
Scratcher
Registered: 2011-06-10
Posts: 100+

Re: pick random costume

i need this now,  if you please


"Wait, what?"-Frizzlepuss. Jumpathon 5! play now!
The scratch song! Congratulations scratch! 2 million projects!

Offline

 

#3 2011-06-27 14:57:12

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: pick random costume

[blocks]<switch to costume[ <pick random( 2 )to( 13[/blocks]

Offline

 

#4 2011-06-27 15:00:34

frizzlepuss893
Scratcher
Registered: 2011-06-10
Posts: 100+

Re: pick random costume

wow thanks i would never have thought of that. it didnt show any slots i could have ever noticed....


"Wait, what?"-Frizzlepuss. Jumpathon 5! play now!
The scratch song! Congratulations scratch! 2 million projects!

Offline

 

Board footer