 |
LEit Novice
Joined: 27 Jul 2002 Posts: 38 Location: USA
|
Posted: Thu Aug 08, 2002 4:23 pm
Temp trigger duration |
If I create a #TEMP trigger, how long does it last? Will anything execpt matching the trigger make it go away?
What I want is to trigger on a certain thing, but if it doesn't happen soon, then for the trigger not to happen, currently I'm using permanent triggers in classes and using #WAIT to disable them after a few seconds (I'll try changing that to alarm, now that I've read about the problems with #WAIT). But I was wondering if #TEMP would make more sense then disabling a class for one trigger. |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Aug 08, 2002 4:36 pm |
Yeah, the only way temporary triggers go away is by being fired. So, you should stick with enablind/disabling permanent triggers, and you are right, you should use an alarm instead.
Kjata |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Aug 08, 2002 10:51 pm |
quote:
If I create a #TEMP trigger, how long does it last? Will anything execpt matching the trigger make it go away?
What I want is to trigger on a certain thing, but if it doesn't happen soon, then for the trigger not to happen, currently I'm using permanent triggers in classes and using #WAIT to disable them after a few seconds (I'll try changing that to alarm, now that I've read about the problems with #WAIT). But I was wondering if #TEMP would make more sense then disabling a class for one trigger.
#ALARM +(your timer interval) {#if (%trigger(triggerID) {#UNTRIGGER triggerID} {#NOOP}}
li'l shmoe of Dragon's Gate MUD |
|
|
 |
|
|
|
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
|
|