[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: NEWBIE Question: LUA wait() function?
- From: "Wesley Smith" <wesley.hoke@...>
- Date: Tue, 11 Mar 2008 18:05:37 -0700
Take a look at the coroutine functions. I think that will help you
get what you want.
wes
On Tue, Mar 11, 2008 at 5:53 PM, Rolf <rb@san.rr.com> wrote:
>
>
>
>
> Sorry for a newbie question. I am not a programmer, but I have just started
> to use LUA in an application that supports LUA scripts.
>
>
>
> I need a pause or wait command inside my script;
>
> For example:
>
>
>
> For i=1,10 do
>
> Print(i)
>
> Wait(7)
>
> End
>
>
>
> In this script I would print "i" every 7 sec. Is there such a simple wait
> command included in LUA?
>
> Surprised if there is not…?
>
> I searched the LUA archive, but only found discussions about
> coroutine.yield(). However, I do not understand how to use this or if they
> can even be called in the application that I am using (EccoExt for Ecco Pro.
> See the Tutorials here http://eccowiki.com/)
>
>
>
>
> TIA!!
>
>
>
>