• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Movement with special item

Engradiel

Member
Joined
May 3, 2009
Messages
108
Reaction score
6
Location
Brazil
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.
 
Back
Top