Command on how to end all loops / code when a condition is met?
Author |
Message |
GodsObscure
|
Posted: Wed Jan 06, 2016 1:55 pm Post subject: Command on how to end all loops / code when a condition is met? |
|
|
I am trying to make a racing game, and when the first car hits the finish line, I'd like it to stop all the other stuff going on in the game. Any ideas? Thanks! |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Jeffmagma
|
Posted: Wed Jan 06, 2016 6:10 pm Post subject: Re: Command on how to end all loops / code when a condition is met? |
|
|
Stop everything? I think the quit or return command works.
If you just want to exit a loop, try the exit command |
|
|
|
|
![](images/spacer.gif) |
|
|