Did something change?

Posted by Lessthanluminous on Thu 24 Jun 2010 09:14 PM — 4 posts, 18,546 views.

#0
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.
Amended on Thu 24 Jun 2010 09:22 PM by Lessthanluminous
#1
It looks like you switched your scripting language from Lua to VBScript, maybe.
USA #2
Go to Game -> Configure -> Scripting and make sure the Language dropdown at the top is what you expect it to be. Probably Lua by what I'm seeing.
Amended on Thu 24 Jun 2010 09:45 PM by Twisol
#3
Yay! Thanks for the help! That seems to have fixed it, even if I have no idea how that happened!