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

#1 2010-05-30 09:08:55

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

"reset script" block

If (variable) = 1
restart script


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#2 2010-05-30 09:11:41

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: "reset script" block

Is This A Request For A Block?

Offline

 

#3 2010-05-30 09:22:41

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: "reset script" block

Yes, but it would still belong in Advanced Topics.


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#4 2010-05-30 09:29:30

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: "reset script" block

when I receive [go]
if <(variable)= ( 1 ) >
broadcast [go]

that's how you do it.

Last edited by ScratchReallyROCKS (2010-05-30 09:29:54)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#5 2010-05-30 09:48:39

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: "reset script" block

I know, but a block would be cool, because what if the broadcast "go" also set off a few other scripts?


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#6 2010-05-30 09:49:11

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: "reset script" block

ScratchReallyROCKS wrote:

when I receive [go]
if <(variable)= ( 1 ) >
broadcast [go]

that's how you do it.

Correction:

when green flag clicked
broadcast go


before the when I recieve go.


http://i46.tinypic.com/dw7zft.png

Offline

 

#7 2010-07-23 15:18:25

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: "reset script" block

waveOSBeta wrote:

I know, but a block would be cool, because what if the broadcast "go" also set off a few other scripts?


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#8 2010-07-23 15:43:00

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: "reset script" block

SeptimusHeap wrote:

ScratchReallyROCKS wrote:

when I receive [go]
if <(variable)= ( 1 ) >
broadcast [go]

that's how you do it.

Correction:

when green flag clicked
broadcast go


before the when I recieve go.

Uh, no....I meant what I said.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#9 2010-07-23 15:57:13

Shisou
Scratcher
Registered: 2010-07-06
Posts: 8

Re: "reset script" block

What about this:

\<when green flag clicked><broadcast[ <when I receive[ <if><(  <=>  )><{ Variable<broadcast[

Offline

 

#10 2010-07-23 16:00:19

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: "reset script" block

Yeah, but the reset script block would be quite convenient.


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#11 2010-07-23 16:01:21

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: "reset script" block

Ill look into it  wink


You can now reach me on Twitter @johnnydean1_

Offline

 

Board footer