UnequipMe

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(void) ref.UnequipMe

when called on an object in an actor's inventory, attempts to unequip the object on the actor and runs the object's OnUnequip script block if applicable.

However, like RemoveMe, calling this on an object, from within an OnEquip or OnUnequip block, results in an infinite loop of the block. See Generic Unequip for help on how to circumvent the loop.

It should also be noted that, just like EquipMe, UnequipMe will not work on Non-playable items.