• 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!

Movements Problem - Help me plx

f@bio

Fudera Otserver
Joined
Jul 10, 2007
Messages
213
Reaction score
0
Location
Brasil
-- Hello guys, i have a otserver with TFS 0.2.11 and i have one question of movements scrpits.

Code:
This is a RING script

<movevent event="Equip" itemid="2164" slot="ring" function="onEquipItem"/>
<movevent event="DeEquip" itemid="2164" slot="ring" function="onDeEquipItem"/>

Code:
This is a BOOTS script

<movevent event="Equip" itemid="2195" slot="feet" function="onEquipItem"/>
<movevent event="DeEquip" itemid="2195" slot="feet" function="onDeEquipItem"/>

-- My question --
How to me modife this script to WEAPONS events???

-- I'm want to edit this for addskill with equiped a weapon, and when deequip weapon skill upded come back to normal, i make this with a boots, ring and necklance, but i want this with WEAPONS and SHIELD, can you help me???

-- And how are the SLOT TYPE for movements???

No more, thx

F@bio
 
Now I'm not sure about this, I have never tried it...but in Global.lua there is a Left and a Right slot. so try this anyways...

Code:
<movevent event="Equip" itemid="[COLOR="Red"]ID[/COLOR]" slot="[COLOR="Red"]left[/COLOR]" function="onEquipItem"/>
<movevent event="DeEquip" itemid="[COLOR="Red"]ID[/COLOR]" slot="[COLOR="Red"]left[/COLOR]" function="onDeEquipItem"/>

Code:
<movevent event="Equip" itemid="[COLOR="Red"]ID[/COLOR]" slot="[COLOR="Red"]right[/COLOR]" function="onEquipItem"/>
<movevent event="DeEquip" itemid="[COLOR="Red"]ID[/COLOR]" slot="[COLOR="Red"]right[/COLOR]" function="onDeEquipItem"/>
 
left and right don't work in forgotten, but i'm now know how to make, its left-hand or right-hand, i'm tested and work correctly... many thx for your help.... this tread can be close moderator.... thx...

No more,

F@bio
 
Back
Top