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

#1 2008-07-15 12:21:17

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Pick Random Not Working

How come I have a script that says Pick Random 1-8 and I get 10 or 0? I have a repeat until it doesn't equal something else, and it gives me 10 yet I never put a 10 in the box to pick random to!


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#2 2008-07-15 13:31:55

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Pick Random Not Working

Sounds like it might be a bug.  Have you uploaded the problem script?


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2008-07-15 13:39:35

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Pick Random Not Working

Paddle2See wrote:

Sounds like it might be a bug.  Have you uploaded the problem script?

I think I got it, though it was weird. I set all the variables to 0 and than the first one picked random O.K., than I had the repeat until it doesn't equal the previous varaible, and it stayed at 0 instead of picking random 1-8. But it's online, and fixed.


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#4 2008-07-15 14:02:52

newareagle
Scratcher
Registered: 2008-06-10
Posts: 100+

Re: Pick Random Not Working

Maybe you put change in instead of set?


My Guitar Hero Game.
8/9 Projects on the Front Page at Once!

Offline

 

#5 2008-07-15 14:05:25

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Pick Random Not Working

newareagle wrote:

Maybe you put change in instead of set?

NO, I double checked and put set


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#6 2008-07-15 14:48:09

joeyman
Scratcher
Registered: 2008-03-28
Posts: 1000+

Re: Pick Random Not Working

Hmm... I doubt it... but it might be some sort of glitch or bug... is there something wrong with your Scratch program? Maybe you should re-download it.

Last edited by joeyman (2008-07-15 14:48:32)


Joeyman: On Scratch since March 28, 2008.
Over 142 projects! (And recently a Brony, and PROUD of it!)

Offline

 

Board footer