Morrowind Mod:XHasItemEquipped
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Morrowind: Morrowind Mod: MWSE
A function added by MWSE.
xHasItemEquipped returns 1 if the NPC or creature has the object equipped, 0 otherwise.
Syntax[edit]
equipped (long): ref->xHasItemEquipped objectid (string)
Example[edit]
long npcRef long isEquipped Setx npcRef to xGetRef "character" Setx isEquipped to npcRef->xHasItemEquipped "steel shortsword"
See Also[edit]
xInventory
xNextStack
xContentList
xAddItem
xRemoveItem
xEquip
xDrop
xAddSpell
xRemoveSpell