UnequipItem

Revision as of 06:17, 11 May 2007 by imported>DragoonWraith (get rid of those annoying messages!)

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.EquipItem "item ID"

See Also

EquipItem