Hi all!!
Im trying to get a permanent movement speed boost effect when boots are equipped.
I did this using "OnPlayerEquipItem" module event.
if (GetResRef(oItem) == "boots")
{
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectMovementSpeedIncrease(15), oPC);
}
This works ok, but... when the player unequipes its boots, it wont loose the effect.
So i tried using the "OnPlayerUnequipItem" to remove the effect but theres where im stuck!
In general i would like to know how to make this, so an item equiped gives an effect only when equipped and when unequiped the effect goes.
Thnak you '>