Difference between revisions of "EquipItem - Actor"

110 bytes added ,  11:23, 19 October 2014
m
no edit summary
imported>Egocarib
imported>Five Alpha Reductase
m
Line 33: Line 33:
== Notes ==
== Notes ==
*When using EquipItem to equip a custom player-enchanted item to any actor, a bug will prevent the magic effects of that enchantment from taking effect. Normal (non-player-enchanted) items still take effect normally.
*When using EquipItem to equip a custom player-enchanted item to any actor, a bug will prevent the magic effects of that enchantment from taking effect. Normal (non-player-enchanted) items still take effect normally.
*Equipping an enchanted weapon on an actor that is not in a loaded cell will reset the weapon charge to full.
*If the calling actor does not have akItem, they will be given one. It is best, however, to add the item with [[AddItem - ObjectReference]], then equip it as the item might not otherwise register as equipped.
*If the calling actor does not have akItem, they will be given one. It is best, however, to add the item with [[AddItem - ObjectReference]], then equip it as the item might not otherwise register as equipped.
<source lang="papyrus">FrenchTaunterREF.EquipItem(HolyGrailARMO, True) ; Gives them one unless they've already got one</source>
<source lang="papyrus">FrenchTaunterREF.EquipItem(HolyGrailARMO, True) ; Gives them one unless they've already got one</source>