Frederus
Member
Hi All i have a Last Man Standing event that runs every 15 mins but i want the teleport to say what it is rather than having a random teleport on the floor.... but i only want it to "Talk" whilst the event portal is active..
I have had a look around Otland and couldnt seem to find what i was looking for....
Found lots of talking tp scripts but nothing specific to existing events...
Following this i tried a couple of times to add the talking tp script to my event script but it didnt seem to work and ended up bugging the event.
I have posted the event script im using below if someone could assist me, ill give ya a kiss??? - If kiss is unwanted i suppose ill drop you a like
TFS 0.3.6 Protocol 8.6
I have had a look around Otland and couldnt seem to find what i was looking for....
Found lots of talking tp scripts but nothing specific to existing events...
Following this i tried a couple of times to add the talking tp script to my event script but it didnt seem to work and ended up bugging the event.
I have posted the event script im using below if someone could assist me, ill give ya a kiss??? - If kiss is unwanted i suppose ill drop you a like
TFS 0.3.6 Protocol 8.6
Code:
local createpos = {x=32346,y=32231,z=7} -- Every 15min where will the Teleport Appear
local topos = {x=33551,y=32102,z=7} -- Where will the Teleport take you
local msg = "Last man standing event TP has now been closed! It will open again in 15 minutes! All participants get Ready for a Fight!"
local timetoclose = 180 -- 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("Last man standing event TP is now open!\nCatch the teleport within "..timetoclose.." seconds! Teleport is Located in Thais Depot.")
addEvent(remove,timetoclose*1000)
return true
end
Last edited: