[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
UnequipItem
Revision as of 06:18, 11 May 2007 by imported>DragoonWraith (oops, this one is UNequip...)
Syntax:
UnequipItem ObjectID NoEquipFlag
Example:
UnequipItem FavoriteCuirass player.UnequipItem AmuletOfKings 1
Forces the actor to unequip the object. If NoEquipFlag = 1, actor (including the player) will be unable to equip the object.
Notes
- By default, using this function on the player will display a message informing the player that the item in question has been unequipped. In almost all situations, this is very annoying, but you can use a blank Message call to prevent it from happening, like so:
Message "" player.UnequipItem "item ID"