• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Check if monster there if not spawn new one.

snowman18

New Member
Joined
Feb 24, 2013
Messages
8
Reaction score
2
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
 
Back
Top