self-killing timers?

Post Reply
palaver
Posts: 12
Joined: Sun May 21, 2017 6:41 am

self-killing timers?

Post by palaver »

Is it possible to put a condition inside a timer that, when met, kills the timer?

Barring that, I'd like to know how to put such a condition inside a trigger. I know the command is disableTimer("[name]"), but I'm unclear on how to make that command fire when the MUD tells me "The [target] died." I'd be happy with being able to do this inside a combat trigger or, more ideally, inside the timer itself.

Thanks.

Jor'Mox
Posts: 1146
Joined: Wed Apr 03, 2013 2:19 am

Re: self-killing timers?

Post by Jor'Mox »

A timer just waits until the end and then fires. To kill it when an event occurs, you need a trigger that fires when that event happens.

palaver
Posts: 12
Joined: Sun May 21, 2017 6:41 am

Re: self-killing timers?

Post by palaver »

Thank you. I have that pretty straight. Now that I'm getting my feet under me, this is a lot of fun. I appreciate everyone's patience and willingness to help.

Post Reply