EquipMe

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.EquipMe

when called on an object in an actor's inventory, attempts to equip the object on the actor and runs the object's OnEquip script block if applicable. If called on an inventory reference with a count greater than one, equips only one unless the item is a stack of arrows, in which case the entire stack is equipped.

EquipMe will not work on Non-playable items.