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

#1 2009-02-24 20:43:17

JekHazit
Scratcher
Registered: 2009-02-23
Posts: 5

Restart scripts?

Is it possible to restart all the scripts so it starts as though you just opened the game?
I want to have the scripts restarted using a script  tongue

Last edited by JekHazit (2009-02-24 20:44:29)

Offline

 

#2 2009-02-24 20:47:53

Buddy_ca111
Scratcher
Registered: 2008-08-30
Posts: 100+

Re: Restart scripts?

Yes first you need to make a script like this on the background:

http://www.mediafire.com/file/wvjzozvu2gm/broadcast.gif

now make all the rest of the "start" blocks into receive blocks

http://www.mediafire.com/file/ntmgim5qlwz/Change.gif

Now when you want to restart just put a broadcast block out!

http://www.mediafire.com/file/dmzmzzrk0on/Start.gif

Last edited by Buddy_ca111 (2009-02-24 20:55:01)


By reading this you agree to giving me your soul, money, passwords, projects, abiltys and your bases

Offline

 

#3 2009-02-24 20:53:22

JekHazit
Scratcher
Registered: 2009-02-23
Posts: 5

Re: Restart scripts?

So how will I get this to work when a ship hits another ship?

Offline

 

#4 2009-02-24 21:01:18

Buddy_ca111
Scratcher
Registered: 2008-08-30
Posts: 100+

Re: Restart scripts?

http://i41.tinypic.com/29lmm2g.gif


By reading this you agree to giving me your soul, money, passwords, projects, abiltys and your bases

Offline

 

#5 2009-02-24 23:02:59

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

Re: Restart scripts?

another possibility is to make a broadcast like this: Scratch-StartClicked. if you broadcast that, scratch "represses" the start button

Offline

 

Board footer