On Wed, Jun 6, 2012 at 6:27 PM, MMiller <
mark_m...@hotmail.com> wrote:
> Hello everyone,
>
> I have a couple of problems that I'd like some discussion on in the
> hopes of a solution. First I'll describe what I'm doing.
>
> We've used the coroutines example defined on the forum to allow things
> such as alerts to yield and return. This works great in a single
> script.
>
> However we have the ability for a script to call another script. So
> the lua engine re-enters and we end up wrapping the second script in a
> co-routine. Now I have 2 scripts running but I want these scripts to
> be synchronous. I have no idea how to do this. Alerts end up
> happening out of order. Any suggestions?
I'm afraid you have to elaborate a bit. Maybe show us some code? :-)