Hello friends.
Good se you again.
I want to use the movevent script of this way;
Besides calculating the information of the items.xml I wanted to create a function to customize some items in the game
<moveevent type="Equip" itemid="2195" slot="feet" event="function" value="onEquipItem" />
<movevent type="DeEquip" itemid="2195" slot="feet" event="function" value="onDeEquipItem"/>
Boh work fine, getting speed and losing when removed.
But when I use this (to add a specil effect in this item for my imbuiment system that I am thinking)...
<movevent type="Equip" itemid="2195" slot="boots" event="script" value="equip.lua"/>
<movevent type="DeEquip" itemid="2195" slot="boots" event="script" value="equip.lua"/>
The function onDeEquipItem doesnt work.
Is possible find a way (editing source) to use function and at same time script??
Thanks.
Good se you again.
I want to use the movevent script of this way;
Besides calculating the information of the items.xml I wanted to create a function to customize some items in the game
<moveevent type="Equip" itemid="2195" slot="feet" event="function" value="onEquipItem" />
<movevent type="DeEquip" itemid="2195" slot="feet" event="function" value="onDeEquipItem"/>
Boh work fine, getting speed and losing when removed.
But when I use this (to add a specil effect in this item for my imbuiment system that I am thinking)...
<movevent type="Equip" itemid="2195" slot="boots" event="script" value="equip.lua"/>
<movevent type="DeEquip" itemid="2195" slot="boots" event="script" value="equip.lua"/>
The function onDeEquipItem doesnt work.
Is possible find a way (editing source) to use function and at same time script??
Thanks.