Rattlerx5150 Posted September 30, 2015 Posted September 30, 2015 Can someone Please post a simple script that I can put into any container, that will make the containers contents respawn after a period of time I set. It seems when I make a container in any of my mods, it does not respawn even with the respawn box checked, and no matter how much time I spend in another part of the map. any help would be appreciated, thank you
Jokerine Posted September 30, 2015 Posted September 30, 2015 You can start with this, and use ResetInventory on your container.
Rattlerx5150 Posted September 30, 2015 Author Posted September 30, 2015 it worked, heres what i didSCN zRespawnEveryday Short Today Begin GameMode If Today !=Gameday Resetinventory Endif End
Rattlerx5150 Posted September 30, 2015 Author Posted September 30, 2015 (edited) (DELETED) Edited September 30, 2015 by Rattlerx5150
DaemonGrin Posted September 30, 2015 Posted September 30, 2015 Curious before you script attempt you say no matter how long you were doing something else in the game what does this equate too in actual game time? I haven't ran into any issues with respawning container objects. It takes 3 in game days. Secondly depending on when you added the container, if you added it during an already progressed save. You might have to wait longer for the first respawn, not sure on this.
Rattlerx5150 Posted September 30, 2015 Author Posted September 30, 2015 Can anyone help me out rewriting this script using GameHourspassed please
Recommended Posts