|
masterkrueger Wanderer
Joined: 24 Jan 2010 Posts: 65 Location: Hamburg
|
Posted: Mon Jun 14, 2010 6:27 pm
Check trigger of specific class? |
Hi Guys,
is it possible to check if a trigger in a class has fired?
I want to set a multistate-trigger back to 0 if one of my #NODIR triggers (all in the class NODIR)
has fired? |
|
|
|
Erasmus Wanderer
Joined: 04 Aug 2004 Posts: 82 Location: Philadelphia
|
Posted: Mon Jun 14, 2010 6:43 pm |
Couple of things you could do depending on the timing. If you want to reset the multistate trigger as soon as the #NODIR trigger fires then I would just add
Code: |
#STATE multistatetriggerID 0 |
to your #NODIR trigger's script.
If you have a reason for needing to do a test in the mulistate trigger before resetting it then the only thing that comes to mind is to add a variable to the #NODIR trigger.
Code: |
#VAR NoDirFiredTest 1 |
In the multistate trigger script you would add:
Code: |
#IF (@NoDirFiredTest = 1) {#STATE multistatetriggerID 0;#VAR NoDirFiredTest 0} |
|
|
_________________ Erasmus |
|
|
|
masterkrueger Wanderer
Joined: 24 Jan 2010 Posts: 65 Location: Hamburg
|
Posted: Mon Jun 14, 2010 6:50 pm |
Ok, in either way i'll have to set it in the NODIR-Triggers. I ask because i have a lot of them and wanted to save work :)
|
|
|
|
|
|