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

#1 2009-05-17 23:55:24

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

break command

A new block called maybe break could be a useful tool to have in the middle of a script. it would reset the whole script back to the first block.

Last edited by yambanshee (2009-05-18 13:46:42)

Offline

 

#2 2009-05-18 08:44:01

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: break command

There's already [stop script]. It's pretty much the same thing.

Offline

 

#3 2009-05-18 13:45:58

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: break command

coolstuff wrote:

There's already [stop script]. It's pretty much the same thing.

it stops the whole script though. If its on green flag press that script will one ever be reactivated once you press the green flag again

Offline

 

#4 2009-05-18 14:20:53

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: break command

yambanshee wrote:

coolstuff wrote:

There's already [stop script]. It's pretty much the same thing.

it stops the whole script though. If its on green flag press that script will one ever be reactivated once you press the green flag again

Oh. Then you can just use broadcasts...

Offline

 

#5 2009-05-19 08:43:10

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: break command

coolstuff wrote:

Oh. Then you can just use broadcasts...

and how do you do that? the only way i can think off is having a copy of the script. Anyways. it can be done with variables as well, that's not the point though. I still think it could be a useful addition

Offline

 

#6 2009-07-01 11:03:34

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: break command

You can use stop script on the broadcast and when you broadcast again, it works again!


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#7 2009-07-02 23:57:12

Love456
Scratcher
Registered: 2009-07-02
Posts: 1

Re: break command

Stop script and break command becomes repetitive functions.
http://love.pohpe.com to the world

Last edited by Love456 (2009-07-02 23:58:57)

Offline

 

Board footer