View Single Post
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Default 04-03-2011, 05:44 PM

Thanks for the reply reuben, but say, for example, your method lasted for 10 seconds, and it's on a loop. I want it to terminate whenever, not just when the 10 seconds is over.

Using if and while statements will wait until the method's finished. The only way to truly stop in the middle of an action is to put it in the during section of a while event (note that there's a difference between a while statement and a while event; while statements are located at the bottom of the screen, and events are in the top-right). Unfortunately, in some cases that will lead to an error, which is what I'm trying to get over.

Man, that was a long parenthetical sentence.


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote