ola galerinha do
hoje venho trazer um script bem simples e faciu de usar
teleportes falantes com animaçao, primeiramente va em globalevents/scripts
e copie um arquivo e renomeie para tpfalantes
dentro coloque issto
function onThink(interval, lastExecution)
pos = {x = 10160, y = 10054, z = 7}
pos1 = {x = 10169, y = 10045, z = 7}
pos2 = {x = 10169, y = 10048, z = 7}
pos3 = {x = 10169, y = 10051, z = 7}
pos4 = {x = 10169, y = 10055, z = 7}
pos5 = {x = 10152, y = 10050, z = 7}
pos6 = {x = 10152, y = 10047, z = 7}
pos7 = {x = 10152, y = 10044, z = 7}
pos8 = {x = 10160, y = 10045, z = 8}
pos9 = {x = 10152, y = 10047, z = 8}
pos10 = {x = 10152, y = 10049, z = 8}
pos11 = {x = 10167, y = 10050, z = 8}
pos12 = {x = 10129, y = 10058, z = 7}
pos13 = {x = 10169, y = 10051, z = 6}
pos14 = {x = 10169, y = 10047, z = 6}
pos15 = {x = 10161, y = 10056, z = 8}
pos16 = {x = 10169, y = 10048, z = 5}
pos17 = {x = 10169, y = 10054, z = 5}
doSendAnimatedText(pos, 'Testserv', 28)
doSendAnimatedText(pos1, 'GOD', 35)
doSendAnimatedText(pos2, 'Monster', 35)
doSendAnimatedText(pos3, 'Monster 2', 35)
doSendAnimatedText(pos4, 'Depot', 35)
doSendAnimatedText(pos5, 'Infernal', 35)
doSendAnimatedText(pos6, 'Ferumbras', 35)
doSendAnimatedText(pos7, 'Futebol', 35)
doSendAnimatedText(pos8, 'Tps Free', 35)
doSendAnimatedText(pos9, 'City', 35)
doSendAnimatedText(pos10, 'Tentox', 35)
doSendAnimatedText(pos11, 'Quest', 35)
doSendAnimatedText(pos12, 'Templo', 35)
doSendAnimatedText(pos13, 'Quest', 35)
doSendAnimatedText(pos14, 'Quest', 35)
doSendAnimatedText(pos15, 'Nick', 35)
doSendAnimatedText(pos16, 'Guilds', 75)
doSendAnimatedText(pos17, 'Guilds', 75)
doSendMagicEffect(pos, 9)
doSendMagicEffect(pos1, 9)
doSendMagicEffect(pos2, 9)
doSendMagicEffect(pos3, 9)
doSendMagicEffect(pos4, 9)
doSendMagicEffect(pos5, 9)
doSendMagicEffect(pos6, 9)
doSendMagicEffect(pos7, 9)
doSendMagicEffect(pos8, 9)
doSendMagicEffect(pos9, 9)
doSendMagicEffect(pos10, 9)
doSendMagicEffect(pos11, 9)
doSendMagicEffect(pos12, 9)
doSendMagicEffect(pos13, 9)
doSendMagicEffect(pos14, 9)
doSendMagicEffect(pos15, 9)
doSendMagicEffect(pos16, 9)
doSendMagicEffect(pos17, 9)
return true
end
salve e feche
agora va em globalevents.xml e coloque esta tag
<globalevent name="teleports" interval="2" script="tpfalantes.lua"/>
e isso galera espero que gostem
entendento o script
pos1 = {x = 10169, y = 10045, z = 7} <------- posiçao da onde vai sair o effect e a fala
doSendAnimatedText(pos1, 'Nick', 35) <------ o frase que ira dizer e a cor dela (nao sei muito bem os numeros das cores)
doSendMagicEffect(pos1, 9) <----------- numero do effect