Talk:RemoveAllItems

From the Oblivion ConstructionSet Wiki
Revision as of 04:32, 15 September 2006 by imported>Dejunai (A Bug I Failed to Mention Sooner)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I have used RemoveAllItems extensively, it was used for the Static Swap Method in the MOD Harvest [Containers]. The Original MOD replace the Vanillia Container with a custom container, which appeared Open/Search/Harvested. The initial scripts, Enabled the custom container, used RemoveAllItems to move the contents of the Vanillia container to the custom one, and then Disabled the Vanillia container. ( There are no issues with Quest Items during this procedure ).

As the MOD progresed, It was determined that the ability to Re-Close the custom container would be important to the enduser. Thus my first thoughts were to reverse the procedure. However this is plagued with a "trippling bug", first when items are moved back to the original Vanillia container they are doubled. [2] hams, [2] carrots, etc... Where previously only 1 of each was before. What is most pequliar tho, is the items are again "trippled" and the third iteration of the items are flaged as stolen ( with the red hand sub-icon ).

This did not become a serious problem, because the workaround was to use the Vanillia container ( after having been Re-Closed ) to pass any Activation to the now Disabled custom container, where the contents actually resided. A proxy setup if you will... I never truely determined the preceise natyre of the bug, but figured I should mention in case it affects anyone else.

--Dejunai 05:32, 15 September 2006 (EDT)