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

Solved Animate text

Kurre Kurrson

New Member
Joined
Aug 11, 2010
Messages
125
Reaction score
3
Hello Otland!

Ive always been using different types of "animated texts" on my servers over the years. But now I am working on an evolution server and somehow I can't manage to get it working so I am here to ask for help. Ive tried a couple of codes but none of em works. The code looks like following:

Code:
function onThink(interval, lastExecution)
local texts = {
    ["Trainers "] = {{x=1000, y=999, z=7}, CONST_ME_MAGIC_BLUE, TEXTCOLOR_LIGHTBLUE}
}

for text, param in pairs(texts) do
    doSendAnimatedText(param[1], text, param[3])
    doSendMagicEffect(param[1], param[2])
    end
    return TRUE
end

<globalevent name="text12" interval="2000" script="animate.lua"/>
 
afaik TFS 0.3.6 is not using milliseconds so decrease interval to 2 (if it's supposed to be 2 seconds)
 
Back
Top