From the wiki: container.RemoveAllTypedItems TargetContainerID:ref RetainOwnershipFlag:int UnknownFlag:int TypeCode:int FormListID:ref
EXAMPLE: player.RemoveAllTypedItems vGOMPlayerEquipmentContainer 1 0 40 NVImprovedHoldoutWeapons
So, breaking this down am I understanding this correctly so far?
"player.RemoveAllTypedItems" (removes all items of the specified type, right?)
"vGOMPlayerEquipmentContainer" (this is the container you want the items removed to go into?)
"1" (retains ownership)
"0" (says unknown flag, so we don't know what this does?)
"40" (that's the typed items being removed, (in this case weapons) and placed into "vGOMPlayerEquipmentContainer"?)
"NVImprovedHoldoutWeapons" (this is the one I don't understand. Could you explain what this is, please?)
Thanks for your help with my noobish questions, but I'm really trying my best to get an understanding on how this works. Sometimes it looks like Chinese to me, lol.
Thanks again!
(Basically, what I'm trying to do is use this in a computer terminal, have the user click an option to Sort Weapons, Sort Armor or Sort Clothing, and remove the items and place them in the specified container WITHOUT placing a duplicate fully repaired copy like the player.removeitem and additem does.) Also, thank you to JoshNZ at the Nexus for showing this to me!