A function added by MWSE.
xHasItemEquipped returns 1 if the NPC or creature has the object equipped, 0 otherwise.
SyntaxEdit
equipped (long): ref->xHasItemEquipped objectid (string)
ExampleEdit
long npcRef long isEquipped Setx npcRef to xGetRef "character" Setx isEquipped to npcRef->xHasItemEquipped "steel shortsword"