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

#1 2011-06-06 21:51:45

Macombdude1
New Scratcher
Registered: 2011-02-07
Posts: 9

Broadcasts

When you have a script that you want to end you should be able to use a <once broadcasted block> This is what I mean   
                                                                    <when green flag clicked>
                                                                        <forever>
                                                                  <go to[ Mouse pointer]
         Now what I am talking about,
  you want it to end, so you can put   Right here-->      <once brodcasted(whatever)>
                                                                              <stop all>



:)

Offline

 

#2 2011-06-06 21:54:59

gettysburg11
Scratcher
Registered: 2008-06-14
Posts: 1000+

Re: Broadcasts

You just need to use the <when I receive[ block for that.  smile


http://i256.photobucket.com/albums/hh184/mnacmilan/LOGO_ACMILAN-Splash.gif

Offline

 

#3 2011-06-06 22:16:25

Macombdude1
New Scratcher
Registered: 2011-02-07
Posts: 9

Re: Broadcasts

Yes, but you cant put it in the middle of the script    smile

Offline

 

#4 2011-06-06 22:56:53

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Broadcasts

It would be good to end a script... with the stop script block I mean...


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#5 2011-06-07 02:39:14

LordSydney
Scratcher
Registered: 2011-04-20
Posts: 100+

Re: Broadcasts

What you do is have a                                { When I receive [stop] }
           variable                                         [ set [stoped] to (1)]
Then, on the other script
                                                              {when green flag clicked}
                                                              |forever\
                                                                 [go to[ Mouse pointer] ]
                                                                 |if < (stoped) = (0) >\
                                                                    [_stop script_]
                                                                  ___________________
                                                               ________

Last edited by LordSydney (2011-06-07 02:39:38)


Need help with BBCode?
http://i.imgur.com/IfWrL.gifAlso check this out!http://i.imgur.com/YgF2v.gif

Offline

 

#6 2011-06-07 18:01:17

Macombdude1
New Scratcher
Registered: 2011-02-07
Posts: 9

Re: Broadcasts

Thamk you!

Offline

 

#7 2011-06-11 12:16:24

Macombdude1
New Scratcher
Registered: 2011-02-07
Posts: 9

Re: Broadcasts

Thank you!

Offline

 

Board footer