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

#1 2009-07-18 11:02:44

ToraOkami303
Scratcher
Registered: 2009-06-30
Posts: 24

Help!!!

i'm trying to make a game but i need to find a way for it to pick a random # from a list! i can't seem to figue it out! i need it to pick a # from 1-10 from my list "What i want" but it's so hard! i thought it would be un to make a game where you have to select the right item that the Baby wants....so far it's been too hard for me! please con some one help!

~Tora
   Okami~

Offline

 

#2 2009-07-18 11:15:22

SmartIrishKid
Scratcher
Registered: 2008-07-19
Posts: 1000+

Re: Help!!!

Code:

set (variable) to ((any) of [List])

Discuss future Scratch RPGs, online games, and more!

Offline

 

#3 2009-07-23 13:19:02

ToraOkami303
Scratcher
Registered: 2009-06-30
Posts: 24

Re: Help!!!

oh i see  smile  thank u
Edit:
ok maybe i don't see...could u make a project showing me the blocks i need? i'm having trouble finding some of them!

Last edited by ToraOkami303 (2009-07-23 13:23:37)

Offline

 

#4 2009-07-23 14:42:12

SmartIrishKid
Scratcher
Registered: 2008-07-19
Posts: 1000+

Re: Help!!!


Discuss future Scratch RPGs, online games, and more!

Offline

 

#5 2009-07-23 14:48:37

samurai768
Scratcher
Registered: 2009-07-21
Posts: 1000+

Re: Help!!!

Um is saying a swear word consider innapropriate on a project cuz i didnt do it, i just one like that

Offline

 

#6 2009-07-27 11:13:12

ToraOkami303
Scratcher
Registered: 2009-06-30
Posts: 24

Re: Help!!!

Of course ii solve one problem just to run into another......Now how do i get it to know if the variable matches the item? this is confusing DX i don't know why i keep trying....

Offline

 

#7 2009-07-27 11:20:53

SmartIrishKid
Scratcher
Registered: 2008-07-19
Posts: 1000+

Re: Help!!!

Use the "equal" block.

Code:

if <(variable) = (item (#) of [List])>

Discuss future Scratch RPGs, online games, and more!

Offline

 

#8 2009-07-30 20:35:07

ToraOkami303
Scratcher
Registered: 2009-06-30
Posts: 24

Re: Help!!!

oh duh DX i feel stupid i'll do that hopefully i won't run into any more problems

Offline

 

Board footer