Difference between revisions of "EquipMe"
Jump to navigation
Jump to search
imported>CSbot (Automated import of articles) |
imported>Iceyeyes |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| origin = OBSE | | origin = OBSE | ||
| summary = 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. | | summary = 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. | |||
| name = EquipMe | | name = EquipMe | ||
| referenceType = ref | | referenceType = ref |
Latest revision as of 10:19, 25 August 2010
< [[::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.