This is all very great but you made one tiny mistake. You forgot one of those sneaky semi-colons
local config =
{
timeToRemove = 30; -- Seconds
monsters = { -- New Player Position & Teleport Position
["Ushuriel"] = { {x=100, y=100, z=7 }, {x=100, y=100, z=7, stackpos = 1 } },
["Morgaroth"] = { {x=100, y=100, z=7 }, {x=100, y=100, z=7, stackpos = 1 } }
}
}
Mmmmmm, not sure if i was completely correct. It worked, its just i had an error in console and the tp didn't go away
Lua Script Error: [CreatureScript Interface]
/creaturescripts/scripts//teleports_inquisition2.luanDeath
luaAddEvent(). Callback parameter should be a function.
local config =
{
timeToRemove = 30; -- Seconds
monsters = { -- New Player Position & Teleport Position
["Ushuriel"] = { {x=100, y=100, z=7 }, {x=100, y=100, z=7, stackpos = 1 } },
["Morgaroth"] = { {x=100, y=100, z=7 }, {x=100, y=100, z=7, stackpos = 1 } }
}
}
Mmmmmm, not sure if i was completely correct. It worked, its just i had an error in console and the tp didn't go away
Lua Script Error: [CreatureScript Interface]
/creaturescripts/scripts//teleports_inquisition2.luanDeath
luaAddEvent(). Callback parameter should be a function.
Last edited: