|
alluran Adept
Joined: 14 Sep 2005 Posts: 223 Location: Sydney, Australia
|
Posted: Tue Jan 15, 2008 1:07 pm
Trigger states in the GUI? |
Oh, almost forgot, the one thing that's probably going to drive me back to zmud for a while (unless i find out it's been hidden somewhere) is the lack of multiple states in the UI for editing a trigger. I never learnt the #cond syntax for adding all my multi-state trigs, and now i want to make some in cmud, well, it's not fun.
Edit by Fang: Split from here in an effort to keep that thread tidy. |
|
_________________ The Drake Forestseer |
|
|
|
Leto GURU
Joined: 27 Sep 2000 Posts: 90 Location: USA
|
Posted: Tue Jan 15, 2008 1:24 pm |
alluran wrote: |
Oh, almost forgot, the one thing that's probably going to drive me back to zmud for a while (unless i find out it's been hidden somewhere) is the lack of multiple states in the UI for editing a trigger. I never learnt the #cond syntax for adding all my multi-state trigs, and now i want to make some in cmud, well, it's not fun. |
Create your initial trigger normally. Then with that trigger selected check out the drop down list in the New button. You should see the option 'New Trigger State'.
Have fun! |
|
|
|
alluran Adept
Joined: 14 Sep 2005 Posts: 223 Location: Sydney, Australia
|
Posted: Tue Jan 15, 2008 1:26 pm |
Aah, there we go, i vaguely recalled finding out how to do it way back in 1.34 or so, but it's been a while, and I thought perhaps it had been moved for later development or something :)
|
|
_________________ The Drake Forestseer |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Jan 15, 2008 2:35 pm |
Also in the original thread, you mention that "i can't make it expand wildcards within { and } anymore" - and that's true, but you can use a regex instead, espeically since you can use the GUI to convert an existing trigger to a regex.
|
|
|
|
alluran Adept
Joined: 14 Sep 2005 Posts: 223 Location: Sydney, Australia
|
Posted: Tue Jan 15, 2008 10:48 pm |
Ya, slowly but surely converting all my triggers to regexp, but zscript syntax was so much more convenient when you're trying to convert stuff inline. I could test it, but i just got to work, so does anyone know if i can set the trigger pattern to @prompRegexp and still have it fire as a regexp?
|
|
_________________ The Drake Forestseer |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Jan 15, 2008 10:50 pm |
You can use variables in a regex just as you would with a zScript pattern, yes.
|
|
|
|
|
|