Difference between revisions of "Talk:RemoveAllItems"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>ABO
imported>ABO
m
Line 9: Line 9:
:Most Vanilla containers respawn - I imagine that's the source of the problem.--[[User:Haama|Haama]] 12:44, 21 April 2008 (EDT)
:Most Vanilla containers respawn - I imagine that's the source of the problem.--[[User:Haama|Haama]] 12:44, 21 April 2008 (EDT)


:This has been biting me too...exactly the same tripling behaviour. The containers I'm using do contain leveled lists but they are not marked as respawning in the CS. I'm also not sure that these items are exactly "healthy" because interactively moving them from the container to the players inventory seemed to remove the tripling effect, but I was in a debugging haze of frustration at the time so I'm not entirely sure. Maybe RemoveAllItems behaves strangely if the container has leveled lists? [[User:ABO|ABO]] 22:30, 28 January 2009 (EST)
:This has been biting me too...exactly the same tripling behaviour. The containers I'm using do contain leveled lists but they are not marked as respawning in the CS. I'm also not sure that these items are exactly "healthy" because interactively moving them from the container to the players inventory seemed to remove the tripling effect, but I was in a debugging haze of frustration at the time so I'm not entirely sure. Maybe RemoveAllItems behaves strangely if the container has leveled lists?
:--[[User:ABO|ABO]] 22:30, 28 January 2009 (EST)


== Equipped items and CTDs ==
== Equipped items and CTDs ==

Revision as of 10:16, 29 January 2009

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 nature of the bug, but figured I should mention in case it affects anyone else.

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

Most Vanilla containers respawn - I imagine that's the source of the problem.--Haama 12:44, 21 April 2008 (EDT)
This has been biting me too...exactly the same tripling behaviour. The containers I'm using do contain leveled lists but they are not marked as respawning in the CS. I'm also not sure that these items are exactly "healthy" because interactively moving them from the container to the players inventory seemed to remove the tripling effect, but I was in a debugging haze of frustration at the time so I'm not entirely sure. Maybe RemoveAllItems behaves strangely if the container has leveled lists?
--ABO 22:30, 28 January 2009 (EST)

Equipped items and CTDs

From this thread - Using RemoveAllItems when there are equipped items may cause a CTD. I've had CTDs with RemoveItem on equipped items as well (but have never tried RemoveAllItems). However, the page says items are automatically unequipped, and I assume this is correct for most items or it would have been brought up by now.--Haama 12:42, 21 April 2008 (EDT)


When an item is forced equipped ( NoUnEquipFlag set to 1 ) RemoveAllItems will crash the game unless the item is unplayable OR the item is a quest object in the player's inventory.--Thorskin 23:26, 7 May 2008 (CET)