TR

[Pedido] Raids

Por tricolorgaucho, 20 de jun. de 2010 em Scripts

tibia
script
otserv
4
2k
tricolorgauchoT
20 de junho de 2010 às 03:21

Tipo do script: --

Protocolo (versão do Tibia): 8.54

Servidor utilizado: TFS

Nível de experiência: --

Adicionais/Informações:

 

Olá, queria que pedir um script dessas raids, já tem as posiçoes X, Y eZ

 

/raid Demodras

Posição

x:1168 y:1062 z:9

Mensagem da Raid

Demodras, the King of all Dragons decided to attack, prevent them go!

 

/raid The Horned Fox

Posição

x:1214 y:965 z:8

Mensagem da Raid

The Horned Fox, brave as ever, resolved to attack.

 

/raid Orshabaal

Posição

x:948 y:1031 z:7

Mensagem da Raid

The GREAT POWERFUL ORSHABAAL is on the loose again, save their lives, leaving the Forest Mintin NOW!

 

/raid Morgaroth

Posição

x:1080 y:976 z:10

Mensagem da Raid

The Morgaroth decided to cause havoc in the basement of Dahra, run and be the hero this time!

 

/raid Ghazbaran

Posição

x:1510 y:855 z:12

Mensagem da Raid

Demonic entities are entering the mortal realm in the mines. The Ghazbaran has revealed itself in the mines!

 

se alguem puder fazer essas raid pra mim, eu agradeço! valeu.

Editado Junho 20 por tricolorgaucho

MatheusGladM
20 de junho de 2010 às 09:07

Espero que seja isso que voce estava querendo.

Va em talkactions/scripts crie um arquivo.lua e cole isto dentro:

function onSay(cid,words,param)
local config = {
["Demodras"] = {pos = {x=1168,y=1062,z=9}, msg = "Demodras, the King of all Dragons decided to attack, prevent them go!"},
["The Horned Fox"] = {pos = {x=1214,y=965,z=8}, msg = "The Horned Fox, brave as ever, resolved to attack."},
["Orshabaal"] = {pos = {x=948,y=1031,z=7}, msg = "The GREAT POWERFUL ORSHABAAL is on the loose again, save their lives, leaving the Forest Mintin NOW!"},
["Morgaroth"] = {pos = {x=1080,y=976,z=10}, msg = "The Morgaroth decided to cause havoc in the basement of Dahra, run and be the hero this time!"},
["Ghazbaran"] = {pos = {x=1510,y=855,z=12}, msg = "Demonic entities are entering the mortal realm in the mines. The Ghazbaran has revealed itself in the mines!"},
}

for monster, configs in pairs(config) do
if param == monster or param == string.lower(monster) then
doSummonCreature(monster, configs.pos)
doBroadcastMessage(configs.msg, 22)
end
end
return TRUE
end

 

Depois va em talkactions.xml e bote esta tag:

<talkaction log="yes" words="/raid" access="5" event="script" value="NOMEDOARQUIVO.lua"/>

 

Nao se esqueça de mudar na tag no lugar do NOMEDOARQUIVO para o nome do arquivo.lua que voce botou.

Editado Junho 20 por MatheusMkalo

tricolorgauchoT
20 de junho de 2010 às 11:37

cara é isso mesmo o que eu queria, me ajudou muito, MUITO MESMO!

 

valeu!

20 de junho de 2010 às 12:38

Tópico Movido para a seção Pedidos Atendidos.