Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Sun Aug 31, 2003 4:51 pm   

Trigger delay...?
 
Is it possible to make objects in a trigger delay? Example:

#TRIGGR {You have no venom in your bloodstream that would affect a lithe weasel.} {secrete sumac;(1 second delay);bite weasel
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Sun Aug 31, 2003 4:57 pm   
 
Nvmd, I dont need it after all. I found a different, easier way to do what i needed done
Reply with quote
Neros
Newbie


Joined: 03 Jun 2003
Posts: 6
Location: Denmark

PostPosted: Sun Aug 31, 2003 5:03 pm   
 
If you do want to do it that way you just need to use the #wait <miliseconds> command.

#TRIGGER {You have no venom in your bloodstream that would affect a lithe weasel.} {secrete sumac;#wait 1000;bite weasel}
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Sun Aug 31, 2003 5:26 pm   
 
I just removed a little ^ in my trigger, so I dont have to ake a new one and it works fine now
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Aug 31, 2003 9:20 pm   
 
Neros,

The use of #WAIT in triggers is strongly discouraged. So strongly that Zugg wrote an article about it and posted it in the Support Library. Please don't recommend using #WAIT in triggers.
Reply with quote
Neros
Newbie


Joined: 03 Jun 2003
Posts: 6
Location: Denmark

PostPosted: Sun Aug 31, 2003 9:58 pm   
 
Gotcha!

Won't happen again!
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Mon Sep 01, 2003 1:42 am   
 
Why is #WAIT bad? Because i started using wait on one of my othr triggers now...
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Sep 01, 2003 6:58 am   
 
Go to the Support (or Support Library) link at the top of this page. Page down to the Articles section and find the one titled "Timers, Alarms, and the WAIT Command" (the Windows Find command may help). Read the article.

Zugg knows his program much better than I do and his explanation is probably clearer and certainly more accurate than anything I would come up with.
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Mon Sep 01, 2003 6:34 pm   
 
Ok, I read that and I undersand. :) But it ounde like I could use something like this:

#TRIGGER {You lose concentration}
#CONDITION {} {recast spell} {Wait|Param=5000}

Or did I ust read it wrong?
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Mon Sep 01, 2003 6:37 pm   
 
Ok, I read that and I undersand. :) But it ounde like I could use something like this:

#TRIGGER {You lose concentration}
#CONDITION {} {recast spell} {Wait|Param=5000}

Or did I ust read it wrong?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Sep 01, 2003 6:45 pm   
 
That's correct.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net