hi otlanders
i wana make boss monster spawns after 6 hours from its death
and if it still alive it does not spawn other one
i have tried this script but it does not what i want it spawns automatic
and does not care about if monster still alive or not so its area full of that boss lol
2- also i wana make when that x boss in x area die creat magic force immediately
which will teleport u to x position and gonna disappear in 3 minutes
sorry for my bad english , gonna rep +
i wana make boss monster spawns after 6 hours from its death
and if it still alive it does not spawn other one
Code:
function onThink(interval)
local start = {x = 1033, y = 882, z = 5} -- the start of the area
local endd = {x = 1037, y = 886, z = 5} -- the end of the area
local monsterpos = {x = 1035, y = 884, z = 5} -- the monster spawn point
for x = start.x, endd.x do
for y = start.y, endd.y do
if getTopCreature({x=x, y=y, z=start.z}).type == 2 then
return true
end
end
end
local m = math.random(1,3)
if m == 1 then
doSummonCreature("Frost Dragon", monsterpos) -- change to your bosses
elseif m == 2 then
doSummonCreature("Ghastly Dragon", monsterpos) -- change to your bosses
elseif m == 3 then
doSummonCreature("Dragon Lord", monsterpos) -- change to your bosses
end
return true
end
-- sizaro(at)otland.net
i have tried this script but it does not what i want it spawns automatic
and does not care about if monster still alive or not so its area full of that boss lol
2- also i wana make when that x boss in x area die creat magic force immediately
which will teleport u to x position and gonna disappear in 3 minutes
sorry for my bad english , gonna rep +