creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
How do you make a timer   
biohaze

biohaze
United States  


  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

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  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

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
tick <value>
command somewhere it'll start repeating the above script every <value> ticks.


The Community Scribble: make (y)our own metaroom!
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
1 online
Vermidia
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki