|
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Tue Sep 11, 2007 6:39 pm
Feature Request: trigger type "event" |
Idea: A trigger type that fires when an event is raised that matches the pattern.
Goal: To beat out all those cheeky people who can just use Prompt in an MXP trigger.
Why it's better than what we've got now: Because you can add it as a state in a complex trigger, instead of using a normal event and enabling it and disabling it all the time (which admittedly works, but is a bit clunky). |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 24, 2007 7:58 pm |
I'm not sure this would work how you want it. Trigger states are only tested when a new line of text is received from the MUD. So, your state wouldn't match when the event was raised.
|
|
|
|
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Fri Sep 28, 2007 5:11 pm |
What about "Expression" type patterns? They fire when variables change, even if there's no input from the game...
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Sep 28, 2007 5:44 pm |
Yes, that is true, and Expression triggers are handled completely separately from other trigger states, and don't necessarily work correctly when used in a multistate trigger. Same is true of MXP and GSL triggers that are executed outside of the main trigger routines.
|
|
|
|
|
|