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

GlobalEvent Talking Tp's! (I TAKE NO CREDIT FOR THIS SCRIPT)

Oldschool'er

Tibia since 1998'
Joined
Dec 14, 2010
Messages
2,201
Reaction score
148
Location
United States
Before i but this up i will say i take NO CREDIT to this script, im only adding it! :D


Add this to Data/Globalevents/Scripts/Effectile.xml
Code:
local config = {
positions = {
    ["Words Here"] = { x = 1023, y = 1034, z = 7 }, --- Pos of where you want the word to say!
},

effects = {
CONDITION_PARAM_DELAYED
}
}

function onThink(cid, interval, lastExecution)
    for text, pos in pairs(config.positions) do
	doSendMagicEffect(pos, math.random(37,37)) 
        doSendAnimatedText(pos, text, math.random(133, 134))
    end
    return TRUE
end

Add this to Data/Globalevents/Globalevents.xml
Code:
<globalevent name="effecttile" interval="3" script="effectile.lua"/>

zIK5P.png


:D
 
Last edited:
always this doSendAnimatedText Deprecated function show a way to fixed ??
 
Thanks for sharing :).
One thing, is it possible to do unique effect for a teleport (I want mort, like the sudden death rune effect) or do I have to use Exori Vis effect on all of them? :p
 
@UP

I guess u have to change this,
doSendMagicEffect(pos, math.random(37,37)) <- the numbers! to the numbers of what mort is.
 
Back
Top