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.

Difference between revisions of "UnequipItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Diablerie
(Does not trigger OnUnequip)
imported>Diablerie
(Removed incorrect note)
Line 7: Line 7:


Forces the actor to unequip the object. If NoEquipFlag = 1, actor (including the player) will be unable to equip the object.
Forces the actor to unequip the object. If NoEquipFlag = 1, actor (including the player) will be unable to equip the object.
Note: This command does not trigger a "Begin OnUnequip" block on the item.


==See Also==
==See Also==

Revision as of 09:15, 4 June 2006

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.

See Also

EquipItem