Acubens
Old Penguin
Animate Multiple Text for [Tiles and Teleports]
Only Create new lua document in your data/globalevents/scripts with name "talking.lua" and past into this script:
In Globalevents.xml paste this:
Only Create new lua document in your data/globalevents/scripts with name "talking.lua" and past into this script:
Code:
local position = {x=1000,y=1000, z=7, stackpos=1}
local text = {"Text1", "Text2", "Text3"}
function onThink(interval, lastExecution)
return doSendAnimatedText(position,text[math.random(1,#text)], math.random(10,66 ) )
end
In Globalevents.xml paste this:
Code:
<globalevent name="talking" interval="1" script="talking.lua"/>
Last edited: