View Single Post
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 08-13-2010, 03:56 PM

Just telling you now, a While statement is basically the same exact thing as a loop, it just tells the loop when the stop. Because the crash is only going to happen once per flight however, it is a good idea to use the While statement, but you can do the same thing with a loop if you know how. Also the boolean is a good idea. You can use that to stop the sounds once the plane crashes by putting the sounds out of an infinite loop and into a while statement as well.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote