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

What am i doing wrong help talking tile [8.6]

cakes1337

New Member
Joined
Feb 14, 2015
Messages
29
Reaction score
0
here is pics please help me fix it

8d82556847f44cfae1dcca23ce7d7095.png

7add2d79c17791e97c73b981ec21f05f.png

fabb87ab2865a898d52080ae93a8a859.png
 
Here is the code as well

<?xml version="1.0" encoding="UTF-8"?>
<globalevents>
<globalevent name="save" interval="900" event="script" value="save.lua"/>
<globalevent name="clean" interval="7200" event="script" value="clean.lua"/>

<globalevent name="serverstart" type="start" event="script" value="start.lua"/>
<globalevent name="playersrecord" type="record" event="script" value="record.lua"/>
<globalevent name="talktile" interval="2" event="script" value="talktile.lua"/>

<!-- <globalevent name="timer_example" time="21:35" event="script" value="my_script.lua"/> -->
</globalevents>




local t = {
[{x=996, y=995, z=7}] = {text = 'Depot', color = TEXTCOLOR_GREEN, effect = 18},
[{x=999, y=995, z=7}] = {text = 'Exp', color = TEXTCOLOR_GREEN, effect = 19},
[{x=993, y=995, z=7}] = {text = 'Quests', color = TEXTCOLOR_GREEN, effect = 21},
[{x=1000, y=1000, z=7}] = {text = 'text 4', color = TEXTCOLOR_GREEN, effect = 22}
}
function onThink(interval, lastExecution, thinkInterval)
for pos, v in pairs(t) do
if v.text then
doSendAnimatedText(pos, v.text, v.color or math.random(255))
end
if v.effect then
doSendMagicEffect(pos, v.effect)
end
end
return true
end
 
Yes, In the game say this command
Code:
 /z
This command is for the animations your server has. So example:
Code:
 /z 17
is Sudden death on my server. Then just add that into your script for whatever effect you want.
Code:
 [{x=996, y=995, z=7}] = {text = 'Depot', color = TEXTCOLOR_GREEN, effect = 17},
 
Back
Top