Page 1 of 1

Lua "Pause" command [SOLVED]

Posted: Wed Mar 24, 2010 5:46 pm
by CressAlbane
Does anyone know the command for Lua that is like "Pause"?
Such as:
Action
PAUSE 5
Action
Or is this unfeasible? (Would freeze game, etc.)

Re: Lua "Pause" command

Posted: Wed Mar 24, 2010 9:33 pm
by Fiodis
Can you be a bit more specific? What exactly are you trying to stop/start?

Re: Lua "Pause" command

Posted: Wed Mar 24, 2010 9:48 pm
by [RDH]Zerted
You can't pause, but you can set and start a timer, then do something when that timer is up.

Re: Lua "Pause" command

Posted: Thu Mar 25, 2010 3:39 pm
by CressAlbane
Okay, I'll use a timer.
Case Closed!
(Although a PAUSE command would be much simpler.)
I use some other languages a little bit, and I thought there might be a function like this.

Re: Lua "Pause" command [SOLVED]

Posted: Fri Mar 26, 2010 5:06 am
by MercuryNoodles
Lua does have a Sleep(#) command, but I'm not so sure on its effects ingame.