Mod:Creation Kit/UnequipItem - Actor

Member of: Mod:Creation Kit/Actor Script

Forces this actor to unequip the specified item, preventing equipping if requested.

Syntax
Function UnequipItem(Form akItem, bool abPreventEquip = false, bool abSilent = false) native

Parameters

 * akItem: The item the actor should unequip.
 * abPreventEquip: If true, prevents the actor (or player) from equipping the item.
 * Default: False
 * abSilent: Should the unequip message be silenced?
 * Default: False

Return Value
None.

Examples
Game.GetPlayer.UnequipItem(TutuProperty) Sally.UnequipItem(DressProperty, true)
 * Force the player to unequip the tutu - but they can equip it
 * Force Sally to unequip the dress - but they can't equip it