com certeza você não é brasileiro,eu não entendi bem oque você quis dizer mais basicamente é ao equipar uma boots no slot ele mudar a outfit do jogador?
- Forums
- xTibia - Notícias e Suporte
- Soluções
- Archived
- Item Que Ao Por No Sitio Da Bota Transforma Noutro Outfit
Item Que Ao Por No Sitio Da Bota Transforma Noutro Outfit
By Bubbleman23, 11 de abr. de 2011 in Archived
info
Group: Campones
Joined: 05/04/11
Posts: 34
Reputation: +6

info
Group: Campones
Joined: 08/11/10
Posts: 4
Reputation: +1

Xd não sou brsileiro nã obrigado por notar isso. sim é verdade é mesmo isso.
info
Group: Campones
Joined: 05/04/11
Posts: 34
Reputation: +6

tente usar,:
function onEquip(cid, item, position, fromPosition)
local outfit = {lookType = 125}
doSetCreatureOutfit(cid, outfit, -1)
return TRUE
end
function onDeEquip(cid, item, slot)
doRemoveCondition(cid, CONDITION_OUTFIT)
return TRUE
end
info
Group: Campones
Joined: 08/11/10
Posts: 4
Reputation: +1

Pode me dizer a tag e eu boto só isso no bloco de notaS?
info
Group: Campones
Joined: 05/04/11
Posts: 34
Reputation: +6

movements.xml
<movevent type="Equip" itemid="BOOTS ID" slot="feet" event="function" value="script name.lua"/> <vocation id="1"/> <vocation id="5" showInDescription="0"/> <vocation id="2"/> <vocation id="6" showInDescription="0"/> </movevent> <movevent type="DeEquip" itemid="BOOTS ID" slot="feet" event="function" value="script name.lua"/>
info
Group: Campones
Joined: 08/11/10
Posts: 4
Reputation: +1

Quando eu boto
<movevent type="Equip" itemid="BOOTS ID" slot="feet" event="function" value="script name.lua"/><vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="BOOTS ID" slot="feet" event="function" value="script name.lua"/>
no xml ele diz enable to open movements.xml quando boto só
<movevent type="DeEquip" itemid="BOOTS ID" slot="feet" event="function"
não dá. pode ajduar denovo ai xD
Edited Abril 12 by Bubble23
info
Group: Campones
Joined: 05/04/11
Posts: 34
Reputation: +6

did not work guy?
try to put like this then:
<movevent type="Equip" itemid="ID BOOTS" slot="feet" event="script" value="script name.lua"/> <movevent type="DeEquip" itemid="ID BOOTS" slot="feet" event="script" value="script name.lua"/>
info
Group: Campones
Joined: 08/11/10
Posts: 4
Reputation: +1

i already know that thanks mate.

info
Group: Campones
Joined: 08/11/10
Posts: 4
Reputation: +1
Boa tarde , gostava que me falassem como botar com que a bota ao ser posta do sitio dela faça com que voce se transforme num tigre.