• 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!

Lua Globalevent script

Lbtg

Advanced OT User
Joined
Nov 22, 2008
Messages
2,398
Reaction score
165
Hello i wanna ask for someone to edit this script so it spawns A Monster on xxx/yyy/z ? :)

script:
PHP:
local createpos = {x=987,y=994,z=5}
local topos = {x=997,y=997,z=7}
local msg = "Raid Boss tp is closed! It will open again in 2 hours!"
local timetoclose = 120 -- in second

local function remove()
local tp = getTileItemById(createpos,1387).uid
if tp ~= 0 then
doRemoveItem(tp)
doBroadcastMessage(msg)
end
end

function onThink(interval)
doCreateTeleport(1387, topos, createpos)
doBroadcastMessage("Raid boss event TP is now open!\nCatch the teleport within "..timetoclose.." seconds quickly! Located in Temple Top Floor,")
addEvent(remove,timetoclose*1000)
return true
end

thanks in advance
 
If you look as GM on a tile it should say X: 32423 Y: 32234 :7
(just example)
men did i do it right?
FZORJux.png
 
Back
Top