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
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.
when I receive [Third Click v] do stuff broadcast [First Click v]
Last edited by OverPowered (2013-04-26 06:44:11)
Offline
It seems like you posted this twice. I'll close this second topic, to keep discussion on the first.
Offline