Development Forum |
 |
|

biohaze

|
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
     Manager

|
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
   
|
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! |