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:
<globalevent name="text12" interval="2000" script="animate.lua"/>
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"/>