sestorme
Member
I have 2.1 remere. Seem to be latest.
I got this error : (
[08/03/2012 15:10:56] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[08/03/2012 15:10:56] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/system.lua)
[08/03/2012 15:10:56] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
local specialQuests = {
[2001] = 30015 --Annihilator,
[2002] = 30020 --Annihilator1
}
You don't have to do that, could have just done this:
Lua:local specialQuests = { [2001] = 30015 --Annihilator, [2002] = 30020 --Annihilator1 }
local specialQuests = {
[2001] = 30015 --Annihilator,
[2002] = 30020 --armor quest
[2003] = 30030 --weapons quest
}
local specialQuests = {
[2001] = 30015 --Annihilator,
[2002] = 30020 --armor quest,
[2003] = 30030 --weapons quest
}
after the numbers (the value), not after the commentLua:local specialQuests = { [2001] = 30015 --Annihilator, [2002] = 30020 --armor quest, [2003] = 30030 --weapons quest }