I get these compile errors whenever I am trying to use a trigger that tries to assign multiple words to a variable:
[string "Trigger: "]:1: ')' expected near 'a'
This is the regex I am matching to:
^(.*) tells you \'of (.*) which is in the general area\'$
And the match text is like this:
Questgiver tells you 'of Inside a large tent which is in the general area'
Then in the trigger code it's doing this:
SetVariable ("quest_room", %2)
What am I doing wrong? If I do it correctly, quest_room should == Inside a large tent
But the compile error comes up when the trigger finds a match.
[string "Trigger: "]:1: ')' expected near 'a'
This is the regex I am matching to:
^(.*) tells you \'of (.*) which is in the general area\'$
And the match text is like this:
Questgiver tells you 'of Inside a large tent which is in the general area'
Then in the trigger code it's doing this:
SetVariable ("quest_room", %2)
What am I doing wrong? If I do it correctly, quest_room should == Inside a large tent
But the compile error comes up when the trigger finds a match.