Try this. The script that you want to restart, instead of "when green flag clicked" at the top, put "when I recieve 'start'". Then put a different script that says "when green flag clicked> broadcast 'start'" Then, when you want to restart the script, just do "broadcast 'start'" Hope this helps! ~plb
Offline
plb36 wrote:
Try this. The script that you want to restart, instead of "when green flag clicked" at the top, put "when I recieve 'start'". Then put a different script that says "when green flag clicked> broadcast 'start'" Then, when you want to restart the script, just do "broadcast 'start'" Hope this helps! ~plb
yeah this is a good way of doing things
Offline
TRocket wrote:
plb36 wrote:
Try this. The script that you want to restart, instead of "when green flag clicked" at the top, put "when I recieve 'start'". Then put a different script that says "when green flag clicked> broadcast 'start'" Then, when you want to restart the script, just do "broadcast 'start'" Hope this helps! ~plb
yeah this is a good way of doing things
Yeah, this is probably the best way. Although it can be really annoying if you've already created loads of scripts! In my latest game, I spent about 10 minutes just changing the "When green flag clicked" blocks to "When I receive 'Start'" blocks
Offline
RedRocker227 wrote:
TRocket wrote:
plb36 wrote:
Try this. The script that you want to restart, instead of "when green flag clicked" at the top, put "when I recieve 'start'". Then put a different script that says "when green flag clicked> broadcast 'start'" Then, when you want to restart the script, just do "broadcast 'start'" Hope this helps! ~plb
yeah this is a good way of doing things
Yeah, this is probably the best way. Although it can be really annoying if you've already created loads of scripts! In my latest game, I spent about 10 minutes just changing the "When green flag clicked" blocks to "When I receive 'Start'" blocks
yep when making a project plan ahead, should save you a lot of trouble later
Offline