Is there a way to make a trigger run off of another trigger?

Post Reply
ceff
Posts: 21
Joined: Thu Apr 08, 2010 11:45 pm

Is there a way to make a trigger run off of another trigger?

Post by ceff »

So I'm making a Milking script for Achaea, and every time it sees "the vial is full" it checks so see if any of the venoms >= 1, if they are, i want it to call the trigger empty, which when it sees that the venom i'm trying to milk has no vial that has the venom, it will milk the venom into empty, and I'm wondering if there is a way to "call" the trigger to activate.

User avatar
Rakon
Posts: 350
Joined: Tue Feb 16, 2010 7:41 pm
Contact:

Re: Is there a way to make a trigger run off of another trig

Post by Rakon »

tempTrigger maybe?
http://wiki.mudlet.org/w/Manual:Scripti ... c_Triggers

Or you can create the other trigger and use 'disableTrigger' and 'enableTrigger' to enable/disable as needed.

ceff
Posts: 21
Joined: Thu Apr 08, 2010 11:45 pm

Re: Is there a way to make a trigger run off of another trig

Post by ceff »

Ah, thanks!

ceff
Posts: 21
Joined: Thu Apr 08, 2010 11:45 pm

Re: Is there a way to make a trigger run off of another trig

Post by ceff »

Is there a way to disable an entire group?

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Is there a way to make a trigger run off of another trig

Post by Vadi »

enableTrigger/disableTrigger works on groups (because they can be triggers).

Post Reply