I made a script with a forever loop and I can't get it to start from the beginning. It's a long script so I can't wait 20 seconds just to wait for it to get to end script, but I can't have it stop all either.
Offline
andrewguy wrote:
I made a script with a forever loop and I can't get it to start from the beginning. It's a long script so I can't wait 20 seconds just to wait for it to get to end script, but I can't have it stop all either.
Maybe stop the project, then start it? Or make sure your single stepping is set to normal by going to Edit>Set single Stepping>Normal
Offline
andrewguy wrote:
I made a script with a forever loop and I can't get it to start from the beginning. It's a long script so I can't wait 20 seconds just to wait for it to get to end script, but I can't have it stop all either.
Well, one way you could do this through broadcasts. First, you'll have to edit your single script into this:
whenclicked
broadcastStart! ▼
when I receiveStart! ▼foreverScripts...
Last edited by ErnieParke (2013-04-28 11:38:43)
Offline