ascott18 / TellMeWhen

TellMeWhen is a combat tracking AddOn for World of Warcraft Retail and Classic
https://wow.curseforge.com/projects/tellmewhen
GNU General Public License v3.0
80 stars 11 forks source link

Optimizing triggers #1987

Open yourapple opened 1 year ago

yourapple commented 1 year ago

The current trigger only supports a single event processing.

But for example, when the icon is displayed, I want to activate the icon border, and I want to play a sound effect at the same time.

At present, two triggers must be written. If the trigger is very simple, these are not problems.

But if my trigger is "when the set condition is passed", and the condition is very complex, then things get really messy.

I have to write 2 different triggers (one for activating the icon border , one for playing sound effects), and you have to write the exact same conditions (complex conditions).

So can you add a function, the same trigger, can handle multiple events at the same time.

ascott18 commented 1 year ago

I'm not like to ever do this, as it would require dramatic changes to the entire event/notification system.

What I may consider is letting you change the type (not the trigger, which is already possible) of an event (through the existing right-click menu), so you can make your one notification e.g. for sound, clone it, and then change the clone to an animation.