Arkangel Nyx
Member
Lua:
local t, doEet = {
{x=1761, y=1883, z=10},
{x=1762, y=1883, z=10},
{x=1763, y=1883, z=10}
},
function onUse(cid, item)
for _, v in ipairs(t) do
doSummonCreature("dragon lord", v)
end
addEvent(doEet, 30 * 60000)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have spawned Dragon Lords, take cover!")
end
What the script is meant to do: When you use the item set for this script, it should spawn Three Dragon Lords in the spots mentioned above.
Error: [04/09/2012 12:12:25] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/dlquest.lua:6: '(' expected near 'onUse'
[04/09/2012 12:12:25] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/dlquest.lua)
[04/09/2012 12:12:25] data/actions/scripts/quests/dlquest.lua:6: '(' expected near 'onUse'
Rep++