Difference between revisions of "OnUnequip"

28 bytes added ,  14:45, 14 August 2009
→‎Notes: OnEquip link
imported>Dev akm
(broken items)
imported>Dev akm
(→‎Notes: OnEquip link)
 
Line 9: Line 9:
==Notes==
==Notes==
* This block '''''will not''''' run when you attempt to equip a broken item (weapon or armor). However, the OnEquip block will run. This can cause problems if the item script relies on the OnUnequip block to reverse an effect of the OnEquip. Since the item never actually gets equipped, you'll have to get it repaired and then equip/unequip it to fire the OnUnequip block.  
* This block '''''will not''''' run when you attempt to equip a broken item (weapon or armor). However, the OnEquip block will run. This can cause problems if the item script relies on the OnUnequip block to reverse an effect of the OnEquip. Since the item never actually gets equipped, you'll have to get it repaired and then equip/unequip it to fire the OnUnequip block.  
==See Also==
* [[OnEquip]]


[[Category: Blocktypes]]
[[Category: Blocktypes]]
Anonymous user