Problem with Trigger Sequence

Posted by WillFa on Thu 21 Aug 2008 08:35 PM — 2 posts, 8,574 views.

USA #0
I have 2 triggers:
<triggers>
  <trigger
   back_colour="8"
   bold="y"
   enabled="y"
   expand_variables="y"
   group="Hits"
   match="^You (?P&lt;NewVerb&gt;.+) @!Enemy(?P&lt;NewPredicate&gt;.+)$"
   match_back_colour="y"
   match_bold="y"
   match_inverse="y"
   match_italic="y"
   match_text_colour="y"
   name="NewVerb"
   regexp="y"
   script="ParseNewDamageEmote"
   sequence="130"
   text_colour="13"
  >
  </trigger>
  <trigger
   back_colour="8"
   bold="y"
   enabled="y"
   expand_variables="y"
   group="Hits"
   match="^You (?P&lt;DamageVerb&gt;@!DamageVerb) (?P&lt;EmoteRemainder&gt;.+)$"
   match_back_colour="y"
   match_bold="y"
   match_text_colour="y"
   name="Verb"
   regexp="y"
   script="GetCritterName"
   sequence="100"
   text_colour="13"
  >
  </trigger>
</triggers>


Trace shows that if Verb is left at 100, NewVerb fires first no matter what its value (101-1000). Changing Verb to 99 and NewVerb to 100 gives the desired effect. Does it only check against a trigger sequence if it is other than the default?
Amended on Thu 21 Aug 2008 08:53 PM by WillFa
Australia Forum Administrator #1
No. Why would I do that? How would I do that? Check sequence 100 first and 1 next?

My guess is you actually have other triggers, some of which are sequence 100 and they are firing first and upsetting your match sequence.