|
Krellus Newbie
Joined: 14 Oct 2006 Posts: 1
|
Posted: Sat Oct 14, 2006 6:50 pm
Help with turning triggers on/off |
Maybe I'm a little dense but in reviewing the help files I cant find how to do this.
What I'm trying to do is find a way to have a trigger set up that turns a specific (different) trigger off (but not all triggers).
And then set up another trigger that will turn yet a different trigger..thats currently off, back on.
Is this possible? |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Sat Oct 14, 2006 7:29 pm |
It's possible.
Since you haven't given any code, I'll use a generic example.
Code: |
This line triggers trigger number one. |
--this line is the primary trigger.
Code: |
This line turns off trigger number one. |
--does what it says...
If that's the effect you're going for, then here's the coding for it (and other triggers you may want to turn off/on).
Code: |
#TRIGGER {This line turns off trigger number one.} {#T- {This line triggers trigger number one.}} |
Also, if you want to turn the triggers back on using another trigger, use the following code:
Code: |
#TRIGGER {This line turns trigger number one back on.} {#T+ {This line triggers trigger number one}} |
If you give some examples, I can put them in code for you and make it easier to understand, if you can't get by with this.
Charneus |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Oct 15, 2006 4:04 am |
Patterns can get pretty long, so if you plan on turning them on and off regularly you might want to name them:
#trigger "name goes here" {pattern} {code}
#T+ "name goes here"
#T- "name goes here" |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
symposes Novice
Joined: 26 Apr 2006 Posts: 34
|
Posted: Mon Oct 16, 2006 3:24 am |
or if you have multiples that you might want to turn off at the same time
drop them in a class.
then you just use #t- to turn class off, and #t+ to turn class on.
oh well, just another way to peel that potato |
|
|
|
|
|