View Single Post
How do i stop a method?
Old
rohan123444
Guest
 
Status:
Posts: n/a
Default How do i stop a method? - 12-14-2009, 07:04 PM

How do I stop a method which uses an infinite loop. Basically what im doing is if the switch is up this method runs which uses an infinite loop to move two cars but what i need help on is stopping the method when the switch is turned to the off position. The problem is since the method uses an infinite loop the method never ends, therefore i cant stop it.

HELP WOULD BE APPRECIATED.
   
Reply With Quote