Morrowind Mod:XRemoveItem

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

A function added by MWSE.

xRemoveItem is a wrapper for the original RemoveItem to take variables.

Syntax[edit]

ref->xRemoveItem objectid (string) count (long)

Example[edit]

long pcRef
long ItemIDstring
long count
Setx pcRef to xGetRef "Player"
Setx ItemIDstring to "Gold_001"
set count to 300
pcRef->xRemoveItem ItemIDstring count

See Also[edit]

xInventory
xNextStack
xContentList
xAddItem
xHasItemEquipped
xEquip
xDrop
xAddSpell
xRemoveSpell