Jaker48895
01-23-2009, 05:04 PM
I'am making a flight simulator program with the ability to toggle the engine off and on. When the engine method is true, the engine will turn on and start running several "loop infinity" commands for the rotating prop and the engine running sound. The problem i run into with this is when the engine is turned off, the loop infinity from the engine on method are still running and will not allow the engine on method to refresh and start again being it hasent finished its first cycle!
My question; is there a way to end a method or end a loop infinity? have a "stop command"?
-any help would be great-
My question; is there a way to end a method or end a loop infinity? have a "stop command"?
-any help would be great-