Hello, I am trying to use the following function:
RemoveAllTypedItems
Which has the following format:
container.RemoveAllTypedItems TargetContainerID:ref RetainOwnershipFlag:int Suppress Messages:int TypeCode:int FormListID:ref
The GECK website specifies that
"If a target container is specified, the typed items are moved to the target container with all equipment items retaining their current health; otherwise the items are destroyed as they would be via RemoveItem."
My question is very simple. How do I use this function WITHOUT specifying a target container (so that the items are destroyed).
I have tried many combinations like:
container.RemoveAllTypedItems 0 1 1 42
container.RemoveAllTypedItems -1 1 1 42
container.RemoveAllTypedItems [] 1 1 42
container.RemoveAllTypedItems Null 1 1 42
container.RemoveAllTypedItems None 1 1 42
container.RemoveAllTypedItems null 1 1 42
container.RemoveAllTypedItems none 1 1 42