View Single Post
Terminate a method mid-stream
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Exclamation Terminate a method mid-stream - 04-01-2011, 07:49 PM

If you have a method in the "During" section of a "While" event, and if you stop the event, the world will give you an "Error During Simulation."

However, this error doesn't happen all the time; it doesn't occur with a simple method like "move forward."

I have posted an example at the bottom of this post.

What I would like to know is if there is any way around this. Yes, I am fully aware of using the "While" statement instead of the "While" event. This does not fit my needs, as this statement will wait until everything within it has finished before stopping; it's basically a loop that you put conditions on.

So, if any of you have a solution, please tell me.
Attached Files
File Type: a2w example1.a2w (521.2 KB, 6 views)


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