Talk:ResetInterior

Active discussions

What is reset?Edit

Dragoon Wraith TALK 17:00, 1 June 2006 (EDT): Whoa, this is a cool function to have! Pretty neat, I could definitely see uses for this for a "Groundhog's Day" type mod - that'd be pretty funny.

Now, as to my question: is there anything that doesn't get reset when a cell resets (in general, as well as with this function)? I don't know a lot about how resetting works in Oblivion...

Yeah, that was a good movie... Anyway, I think there are certain objects that do not reset, but I can't remember which ones. I think... Quest Objects?
Also, the cell automatically resets after approximately three game days after the player originally entered the cell. I believe that all the containers with the "Respawns" checkbox get new loot, and all the enemies are re-calculated, so the old are deleted, and the new replace them. Traps usually are reset by their respective scripts, and thus I do not believe the game resets Havok objects, though I admit, I've never tried. TheImperialDragon 13:24, 3 June 2006 (EDT)

Havok resetEdit

As far as I can see, the resetinterior command does indeed reset havok objects (e.g. objects knocked off a shelf were replaced when I executed the command from an adjacent cell).

Could this command be attached to a door entering the cell to reset havok objects every time you walk in?

vesp4sian

I wouldn't suggest adding the script to a door or any vanilla object - too much of a compatibility issue. If you really want to, you could make a persistent, "Initially Disabled"/invisible, activator that follows the player around and resets it when the player has left the cell. However, if the player stole something wouldn't it reappear?--Haama 20:24, 22 June 2008 (EDT)
Any items that the player took will not be replaced, I have tested this extensively in my mod. My mod requires this function for a library cell, should the player mess the room up and books are everywhere I wanted a way to "clean" the library that wouldnt require scripting every book to return to its original location or removing their physics with an external program. I found the ResetInterior to be the perfect function for this, unfortunately when I took a book and wanted to replace it, it would not be caught when ResetInterior was called. (I then had to go and make copies of every book that couldn't be taken, not awesomely fun).
I tend to be long winded, sorry. The short answer is No.
--Antares 07:56, 16 October 2008 (EDT)
The slightly longer answer is: Food respawns. Other items don't. Haven't checked non-food ingredients. Scruggs 18:24, 16 October 2008 (EDT)
Non food ingredients (for instance bonemeal) do not respawn with ResetInterior.UDUN 15:11, 4 March 2009 (EST)
Very interesting! Did a quick test and noticed a few things: (1) if the player or NPC picks up and drops an item, the item is not reset to its original position anymore. (2) Waiting outside for 3 days also resets items to their original positions. (3) PurgeCellBuffers, although similar, does not reset items to their original positions. - QQuix 19:22, 16 October 2008 (EDT)

I see, I was not aware of the food items. Rather extensively was a bit of an overstatement. I would say that it does what it says it does pretty well, any loot that was left in my library got cleaned out when ResetInterior was called. I'm pretty sure the games code calls (or performs an equivalent function) ResetInterior automatically on cells that haven't been entered in over 3 game days. As far as taken items go, I would say that when such objects are interacted with, their Reference Records are altered to reflect that interaction. eg, the player picks up an item belonging to another actor, the item is marked as stolen and will no longer be affected by ResetInterior. Should the player sell to a fence and buy the same item back it is considered to belong to the player (even though it should be the same item belonging to the other actor).
--Antares 21:55, 16 October 2008 (EDT)

Return to "ResetInterior" page.