|
Scirkhan Apprentice
Joined: 14 Sep 2007 Posts: 167 Location: aztx
|
Posted: Mon Dec 08, 2008 5:25 pm
#t- trigger/class |
How do I use #t- to turn off a trigger in a specific class.
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Dec 08, 2008 6:49 pm |
Give the trigger a unique ID and then use #t- TrigID.
If you simply must have triggers with the same ID, you can do #t- classpath/triggerid. So if your trigger is named "Trig" and is inside a class named "Something", which is in a class "Cheesemonger", you'll do #t- "cheesemonger/something/trig". |
|
|
|
Scirkhan Apprentice
Joined: 14 Sep 2007 Posts: 167 Location: aztx
|
Posted: Mon Dec 08, 2008 7:01 pm |
ahh.. i was trying #t- classname/"trigger" =p
too bad can't just have the class that it is in? inside of the whole path shrugs.
oh on that note, if i do end up having the same id triggers, as long as one of the classes isn't none, should it work right without giving the classpath? |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Dec 09, 2008 12:15 am |
If you have two triggers with the same ID and you just do #t- ID, which one gets disabled depends on the position of whatever ran the #t- command. I wouldn't recommend doing it.
|
|
|
|
|
|