UnequipItemNS

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search


A command for Oblivion Script Extender

Syntax:

actor:ref.UnequipItemNS item:base count:long

OBSE version of UnquipItem that does not create Message Spam.

Notes[edit | edit source]

  • Still makes the same UnequipItem sound. See Message Spam for techniques that won't make the sound.
  • UnequipItemNS (as well as UnequipItem and UnequipItemSilent) are the only ways to remove items that have been equipped with EquipItem with its "no-unequip" flag set to 1. To check for this flag before calling UnequipItem (to avoid unequipping items that you shouldn't), try using EquipItem without the flag on another item that uses the same slot. If the flag has been set on the currently equipped item, the script will be unable to equip a new item over it.

See Also[edit | edit source]