local uids = {
[21500] = {"Up!",200}, -- "Text",Color code
}
function onThink(interval, lastExecution, thinkInterval)
for uid, t in pairs(uids) do
local position = getThingPos(uid)
doSendAnimatedText(position,t[1],t[2])
end
end
PHP:local uids = { [21500] = {"Up!",200}, -- "Text",Color code } function onThink(interval, lastExecution, thinkInterval) for uid, t in pairs(uids) do local position = getThingPos(uid) doSendAnimatedText(position,t[1],t[2]) end end
Just replace 21500 by the unique id of the item and change the text and color if needed. You can add more uniqueids.
Text max lenght is 9
<globalevent name="talktile" [B][I][COLOR="Orange"]interval="2"[/COLOR][/I][/B] event="script" value="talktile.lua"/>