Jump to content

Making player homes - Safe Containers


Sdesser

Recommended Posts

Heya!

 

I've been working on a custom player house for the past week or so.

Been googling about this subject like crazy, watched youtube videos and searched forums, but I can't seem to find an sure answer to my question:

 

If you set your homes EncounterZone (the cell it's in) as a "NoResetZone", does that mean that ALL the containers you put there will be safe?

I have my treasury filled with "DLC01TreasSnowElfChestBoss" chests, as in they already have random generated loot in them when the player enters the cell.

Will those kinds of containers also stay safe?

It's quite clear that the few containers in the Creation Kit are safe (NoRespawn in the name) no matter where you place them, but what about the types of chests that I mentioned above?

 

I'm sorry if there is a thread about this here, but I sure as hell couldn't find it.

 

-Sdesser

Edited by Sdesser
Link to comment
Share on other sites

If the cell's EZ is set to 'NoResetZone', all containers will be safe, unless you choose a different Encounter Zone for the container reference.

 

if the container's EZ is 'None' it will inherit the setting from the cell.

Edited by Ghaunadaur
Link to comment
Share on other sites

So if I want merchant containers in my home to reset, I'll need to change their reference to some other zone?

 

This will make the container reset, but I think it will reset immediately just by leaving and re-entering the cell. I don't know if there's a way to make a container respawn normally in a NoResetZone by using a different EZ. You could put a script on the container to make it reset after, let's say 10 days:

 

 

Scriptname ContainerReset extends ObjectReference

Event OnInit()
RegisterForSingleUpdateGameTime(240.0)
EndEvent

Event OnUpdateGameTime()
Reset()
RegisterForSingleUpdateGameTime(240.0)
EndEvent

Link to comment
Share on other sites

So if I want merchant containers in my home to reset, I'll need to change their reference to some other zone?

 

This will make the container reset, but I think it will reset immediately just by leaving and re-entering the cell. I don't know if there's a way to make a container respawn normally in a NoResetZone by using a different EZ. You could put a script on the container to make it reset after, let's say 10 days:

 

 

Scriptname ContainerReset extends ObjectReference

Event OnInit()
RegisterForSingleUpdateGameTime(240.0)
EndEvent

Event OnUpdateGameTime()
Reset()
RegisterForSingleUpdateGameTime(240.0)
EndEvent

 

Ah! Thanks!

 

Got everything done earlier this evening and released the whole mod in Nexus (link my sig) and I might add that to the next patch to see how it works ^^

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...