Mod:Creation Kit/RemoveModFromInventoryItem - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Remove a mod from an inventory item in this object's inventory.

Syntax
Function RemoveModFromInventoryItem(Form akItem, ObjectMod akMod) native

Parameters

 * akItem: a base form of the item we want to modify
 * akMod: a base form of the mod we want to remove from akItem

Return Value
None.

Examples
BobRef.RemoveModFromInventoryItem(PowerArmorObject, PowerArmorRightArmMod)
 * remove Bob's power armor's right arm armor