Background for Skyrim SE
Member of the PO3_SKSEFunctions script
voidfunctionRemoveAllModItems(ObjectReferenceakRef, stringasModName, boolabOnlyUnequip=false)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Remove all mod added items from this reference, optionally only unequipping them

Caveats


Parameters

ObjectReferenceakRef

stringasModName

boolabOnlyUnequip=false


Examples

Auto-Generated Example

ObjectReference myObjectReference__akRef
string myString__asModName
bool myBool__abOnlyUnequip

PO3_SKSEFunctions.RemoveAllModItems(myObjectReference__akRef, myString__asModName, myBool__abOnlyUnequip)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.