Hi. I am making a script that will spawn a monster every few hrs at certain location. But if the monster is not killed I dont want the new monster to spawn and to end up with 2 same monsters. I have a script that need upgrading. Can someone help?
Code:
local t = {
monster = {"Demodras", {x=1780, y=1446, z=8}},
}
function onThink(interval, lastExecution, thinkInterval)
doBroadcastMessage("Do you fear my hot breath mortal? If not come and find me....and KILL ME!!!", MESSAGE_STATUS_WARNING)
doSummonCreature(t.monster[1], t.monster[2])
return TRUE
end