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.)
Lua "Pause" command [SOLVED]
Moderator: Moderators
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Lua "Pause" command [SOLVED]
Last edited by CressAlbane on Thu Mar 25, 2010 3:40 pm, edited 1 time in total.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Lua "Pause" command
Can you be a bit more specific? What exactly are you trying to stop/start?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Lua "Pause" command
You can't pause, but you can set and start a timer, then do something when that timer is up.
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: Lua "Pause" command
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.
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.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Lua "Pause" command [SOLVED]
Lua does have a Sleep(#) command, but I'm not so sure on its effects ingame.
