Mod:Creation Kit/RemoveAllModsFromInventoryItem - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Remove all mods from an item in this object's inventory. Note that some items, such as hand-made guns, won't have any geometry left if you call this on them, even though they will remain in the object's inventory, which might be weird.

Syntax
Function RemoveAllModsFromInventoryItem(Form akItem) native

Parameters

 * akItem: a base form of the item we want to remove all mods from

Return Value
None.

Examples
BobRef.RemoveAllModsFromInventoryItem(PowerArmorObject)
 * strip bob's power armor down to the frame (while he is in it!)