While in the middle of massacring some NPCs, my triggers started acting silly.
In all my triggers, when I had: SetVariable ("something", "somethingelse") it stopped working when I had the parenthesese, but SetVariable "something", "somethingelse" works.
An example, sans parentheses (working version):
<triggers>
<trigger
custom_colour="17"
enabled="y"
expand_variables="y"
group="Affliction"
keep_evaluating="y"
match="^The flames eat away at your skin\, causing you to writhe in agony\.$"
name="Burning"
regexp="y"
send_to="12"
sequence="100"
other_text_colour="darkorange"
>
<send>SetVariable "burning", "1"</send>
</trigger>
</triggers>
Also, I get this whenever anything happens, presumably due to another trigger affected by whatever my problem is:
Error number: -2146827286
Event: Execution of line 4 column 9
Description: Syntax error
Line in error:
if "x" == "x" then
Called by: Immediate execution
I want to know why all my triggers are suddenly silly, if I can ever go back to the way they were, and... anything else I could be told!
I would like to add that I just tried a copy of a trigger using a different world and it worked just fine with parentheses. |