retired.
info
Grupo: Infante
Registrado: 13/10/08
Posts: 1.6k
Reputação: +420
Char no Tibia: Demonbholder

Editado Março 16 por Demonbholder
info
Grupo: Campones
Registrado: 29/04/10
Posts: 38
Reputação: +2
Char no Tibia: Terry Thigo

da nenhum erro no distro mais n ta teleportando ;x
info
Grupo: Herói
Registrado: 20/05/10
Posts: 3.4k
Reputação: +1.5k
Gênero: Masculino

info
Grupo: Infante
Registrado: 13/10/08
Posts: 1.6k
Reputação: +420
Char no Tibia: Demonbholder

SCRIPTS ABAIXO.
Em creatureScripts.xml
<event type="kill" name="Rotten" script="NomeDoArquivo.lua"/>
Em login.lua
registerCreatureEvent(cid, "Rotten")
Até mais.
Editado Março 16 por Demonbholder
info
Grupo: Herói
Registrado: 20/05/10
Posts: 3.4k
Reputação: +1.5k
Gênero: Masculino

@Demon meu nego gostoso
uma dica é usar string.lower para retornar o nome do monstro ![]()
bjs
info
Grupo: Infante
Registrado: 13/10/08
Posts: 1.6k
Reputação: +420
Char no Tibia: Demonbholder

retired.
Editado Março 16 por Demonbholder
info
Grupo: Campones
Registrado: 29/04/10
Posts: 38
Reputação: +2
Char no Tibia: Terry Thigo

Não Deu
info
Grupo: Infante
Registrado: 13/10/08
Posts: 1.6k
Reputação: +420
Char no Tibia: Demonbholder

Eu testei e funcionou sim. Você fez algo errado, vou te passar as 3 possibilidades de scripts:
function onKill(cid, target)
local pos = {x=, y=, z=}
if isMonster(target) and getCreatureName(target) == 'pythius the rotten' then
doTeleportThing(cid, pos)
end
return TRUE
end
OU:
function onKill(cid, target)
local pos = {x=, y=, z=}
if isMonster(target) and string.upper(getCreatureName(target)) == 'PYTHIUS THE ROTTEN' then
doTeleportThing(cid, pos)
end
return TRUE
end
OU:
function onKill(cid, target)
local pos = {x=, y=, z=}
if isMonster(target) and string.lower(getCreatureName(target)) == 'pythius the rotten' then
doTeleportThing(cid, pos)
end
return TRUE
end
Agora as tags:
CreatureScripts.xml
<event type="kill" name="Rotten" script="NomeDoArquivo.lua"/>
Login.lua
registerCreatureEvent(cid, "Rotten")
Certamente funciona.
info
Grupo: Campones
Registrado: 29/04/10
Posts: 38
Reputação: +2
Char no Tibia: Terry Thigo

Ae a ultima funciono vlw ae
REP+
info
Grupo: Infante
Registrado: 13/10/08
Posts: 1.6k
Reputação: +420
Char no Tibia: Demonbholder

Pedido entregue, reportando.



info
Grupo: Campones
Registrado: 29/04/10
Posts: 38
Reputação: +2
Char no Tibia: Terry Thigo
Quando um player matar um Boss ele seja teleportado para um posição (somente quem matou)
Nome do Boss: Pythius The Rotten
Espero Respostas ;D