Background for Skyrim SE
Member of the DbMiscFunctions script
voidfunctionRemoveAllItems(ObjectReferenceRef, ObjectReferenceotherContainer=NONE, boolabSilent=true, floatdelay=0.01, boolabNoEquipped=false, boolabNoFavorited=false, boolabNoQuestItem=true)Global

Description

Documentation Comment

remove all items from ref which must be a container or actor to optional otherContainer
requires skse and papyrus extender and SSE
use Form[] Items = PO3_SKSEFunctions.AddAllInventoryItemsToArray(Ref, abNoEquipped, abNoFavorited, abNoQuestItem) for LE


Caveats


Parameters

ObjectReferenceRef

ObjectReferenceotherContainer=NONE

boolabSilent=true

floatdelay=0.01

boolabNoEquipped=false

boolabNoFavorited=false

boolabNoQuestItem=true


Examples

Auto-Generated Example

ObjectReference myObjectReference__Ref
ObjectReference myObjectReference__otherContainer
bool myBool__abSilent
float myFloat__delay
bool myBool__abNoEquipped
bool myBool__abNoFavorited
bool myBool__abNoQuestItem

DbMiscFunctions.RemoveAllItems(myObjectReference__Ref, myObjectReference__otherContainer, myBool__abSilent, myFloat__delay, myBool__abNoEquipped, myBool__abNoFavorited, myBool__abNoQuestItem)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.