Mod:Creation Kit/OnUnequipped - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Event called when the object reference has been unequipped by an actor.

Parameters

 * akActor: The actor that unequipped this object.

Examples
Because all item bonuses and enchants are disabled when in power armor, this event also will be emitted if the script is on an item normally equipped by the actor when the actor enters a power armor frame. You can use this to your advantage to bring effects back that are lost while in the power armor. Take this example which can re-apply an ability spell upon entering power armor. You can use this as an alternative to enchanting the item. This example will apply a spell, but you could use it to apply perks dynamically (probably still only to the player) as well.