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

#1 2013-04-26 05:45:00

babylon123
New Scratcher
Registered: 2013-04-26
Posts: 2

Urgent, please help thanks :(

if i have three separate scripts which are actually linked together
in another term, for example
when green flag clicked, the script runs, then i leave the end of the first script as broadcast second click.
After that, when second click is received, then it will run the second script and broadcast the third click at the end of second script... then when the third click is received, it runs the script and it will end at this last script. but what can i do to make it run everything again from the start after the third script ends.
please help
thanks

Offline

 

#2 2013-04-26 06:41:32

OverPowered
Scratcher
Registered: 2012-07-27
Posts: 100+

Re: Urgent, please help thanks :(

babylon123 wrote:

if i have three separate scripts which are actually linked together
in another term, for example
when green flag clicked, the script runs, then i leave the end of the first script as broadcast second click.
After that, when second click is received, then it will run the second script and broadcast the third click at the end of second script... then when the third click is received, it runs the script and it will end at this last script. but what can i do to make it run everything again from the start after the third script ends.
please help
thanks

Add this script to one of your sprites,

when green flag clicked
broadcast [First Click v]
And replace your other "when green flag clicked" script with this:
when I receive [First Click v]
do stuff
broadcast [Second Click v]
And then just add the following block to the end of the third click, and it should work fine.  smile
when I receive [Third Click v]
do stuff
broadcast [First Click v]

Last edited by OverPowered (2013-04-26 06:44:11)


Newest project: Tunnel TEST ~http://blocks.scratchr.org/API.php?user=OverPowered&action=onlineStatus~ On my mind: Unicameralism

Offline

 

#3 2013-04-26 07:08:30

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Urgent, please help thanks :(

It seems like you posted this twice. I'll close this second topic, to keep discussion on the first.

Offline

 

Board footer