Difference between revisions of "EquipItem - Actor"

Jump to navigation Jump to search
157 bytes added ,  09:09, 9 May 2013
imported>Layam
(Added not on using QueueNiNodeUpdate to workaround issue where actors do not draw armor equipped while in the OpenInventory or pick-pocketting dialogue.)
imported>Thor
Line 38: Line 38:
<source lang="papyrus">Game.GetPlayer().EquipItem((Game.GetForm(0x00032DB7) As ObjectReference).GetBaseObject())</source>
<source lang="papyrus">Game.GetPlayer().EquipItem((Game.GetForm(0x00032DB7) As ObjectReference).GetBaseObject())</source>
*Armor equipped while in [[OpenInventory - Actor|OpenInventory]] or pick-pocketing dialogues will not be visible on the actor until the dialogue is ended. Calling the SKSE function [[QueueNiNodeUpdate - Actor|QueueNiNodeUpdate]] straight after calling EquipItem can force the actor to draw the new equipment immediately.
*Armor equipped while in [[OpenInventory - Actor|OpenInventory]] or pick-pocketing dialogues will not be visible on the actor until the dialogue is ended. Calling the SKSE function [[QueueNiNodeUpdate - Actor|QueueNiNodeUpdate]] straight after calling EquipItem can force the actor to draw the new equipment immediately.
*The abPreventRemoval flag does not prevent removal by the functions UnEquipAll and RemoveAllItems. It does prevent removal when using EquipItem(OtherItem).


== See Also ==
== See Also ==
Anonymous user

Navigation menu