Development Forum |
![old old](images/design/post_old.png) |
|
![biohaze](http://creaturescaves.com/images/icons/iconBlank.gif)
biohaze
![](images/design/pos t_old.png)
|
5/29/2008 | |
Ok i need to know how to make a timer.
Timers are started by using TICK <value> where <value> is greater that 0, and are stopped by using <value> equal to 0.
Do timers need to start with the timer script like 1 1 111 9?
TICK 1000
KILL TARG
TICK 0
|
would this make a timer that kills EVERY 1000 ticks and is this all i need to make a timer?
Grow Shrooms |
![Malkin](http://creaturescaves.com/images/icons/658.png)
Malkin
![](images/design/pos t_old.png) ![](images/design/pos t_old.png) ![](images/design/pos t_old.png) ![](images/design/pos t_old.png) ![](images/design/pos t_old.png) Manager
![visit Malkin's website: Malkin's page at CWiki visit Malkin's website: Malkin's page at CWiki](images/design/www.png)
|
5/29/2008 | |
Wouldn't killing TARG mean that your agent would remove itself? I believe that you do need to put the "scrp family genus species 9" bit first.
I found an old thread on Gameware which discusses timing a bit. Hope it helps.
My TCR Norns |
![AquaShee](http://creaturescaves.com/images/icons/108.gif)
AquaShee
![](images/design/pos t_old.png) ![](images/design/pos t_old.png) ![](images/design/pos t_old.png) ![](images/design/pos t_old.png)
|
5/30/2008 | |
The TICK command starts the timer script, it isn't a timer in itself.
So you'd need this:
scrp 1 111 111 9
kill targ
endm |
and when you add the command somewhere it'll start repeating the above script every <value> ticks.
The Community Scribble: make (y)our own metaroom! |