Well, im trying to merge Cykotitan script, when someone dies it should remove monsters from a speical area. But i get (LuadoRemoveCreature) Creature not found.
Its, removing the monsters from area but these errors pop ups on the console. Tfs 0.3.6!
LUA:local from = {x=100, y=100, z=7} local to = {x=200, y=200, z=7} local monsters = {} for x = from.x, to.x do for y = from.y, to.y do for z = from.z, to.z do local v = getTopCreature({x=x, y=y, z=z}) if v.type == 1 then return elseif v.type == 2 then table.insert(monsters, v.uid) end end end end for i = 1, #monsters do doRemoveCreature(monsters[i]) end
Please help rep!