Postado Agosto 4, 2012 12 anos Fala ai galerinha do TK, como estão vocês ? Bom, estou aqui para trazer mais um Script Meu É o seguinte, é tipo um evento, se o player for Knight ou Elite Knight, ele vai para uma certa area, se ele for Pala, ou Royal Pala, vai para a outra, e assim por diante, como se fosse um evento de War, mas que nao fosse guild x guild, e sim voca x voca 1º Vá em data/movements/script copie qualquer arquivo .lua renomeio para eventvoca , abra-o, apague o que estiver dentro e ponha isto: -- By Slaake for Tibia King -- function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) POS1 = {x=1000, y=1000, z=7} -- Position que os Knights vao ser teletransportados POS2 = {x=1000, y=1000, z=7} -- Position que os Paladins vao ser teletransportados POS3 = {x=1000, y=1000, z=7} -- Position que os Druids vao ser teletransportados POS4 = {x=1000, y=1000, z=7} -- Position que os Sorcerers vao ser teletransportados if (getPlayerVocation(cid) == 4 ) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Knights') doTeleportThing(cid,POS1) return false end if (getPlayerVocation(cid) == 8 ) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Knights') doTeleportThing(cid,POS1) return false end if (getPlayerVocation(cid) == 3 ) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Paladins') doTeleportThing(cid,POS2) return false end if (getPlayerVocation(cid) == 7 ) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Paladins') doTeleportThing(cid,POS2) return false end if (getPlayerVocation(cid) == 2 ) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Druids') doTeleportThing(cid,POS3) return false end if (getPlayerVocation(cid) == 6 ) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Druids') doTeleportThing(cid,POS3) return false end if (getPlayerVocation(cid) == 1 ) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Sorcerer') doTeleportThing(cid,POS4) return false end if (getPlayerVocation(cid) == 5 ) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Sorcerer') doTeleportThing(cid,POS4) return false end return true end <movement type="StepIn" uniqueid="21032" event="script" value="eventvoca.lua" /> 3º Agora basta voce coloca o id 21032 no RME na area que voce quer que quando o player em cima do tile seja teletransportado. Gostou ??? Da um rep + ai custa nada nao e nem cai o dedo 2º Vá em data/movements/movements.xml e coloque esta tag De boua na lagoa ? *-* Entrada ao Tibia King:27/05/2012 (02:14)
Postado Agosto 4, 2012 12 anos Iria ser legal para você colocar kina n ataca kina e etc,não é ? E também colocar level minimo,imagina um char lvl 8 la no evento,q n faiz nada e fica atrapalhando .. Girls, kisses ! Dizem que o homem-aranha não existe porque está somente nos livros... E Deus existe mesmo estando somente na bíblia ... Povo Ignorante.
Postado Agosto 4, 2012 12 anos function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) POS1 = {x=1000, y=1000, z=7} -- Position que os Knights vao ser teletransportados POS2 = {x=1000, y=1000, z=7} -- Position que os Paladins vao ser teletransportados POS3 = {x=1000, y=1000, z=7} -- Position que os Druids vao ser teletransportados POS4 = {x=1000, y=1000, z=7} -- Position que os Sorcerers vao ser teletransportados if (getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 8) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Knights') doTeleportThing(cid,POS1) elseif (getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 7) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Paladins') doTeleportThing(cid,POS2) elseif (getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Druids') doTeleportThing(cid,POS3) elseif (getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5) then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce esta no evento e pertence ao team dos Sorcerer') doTeleportThing(cid,POS4) return false end return true end
Postado Agosto 5, 2012 12 anos Autor Hm... gostei da ideia, vo ve se faço isso dpoisi , vlw pelo script ai kimoszin De boua na lagoa ? *-* Entrada ao Tibia King:27/05/2012 (02:14)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.