Rattlerx5150 Posted September 30, 2015 Share 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 Link to comment Share on other sites More sharing options...
Jokerine Posted September 30, 2015 Share Posted September 30, 2015 You can start with this, and use ResetInventory on your container. Link to comment Share on other sites More sharing options...
Rattlerx5150 Posted September 30, 2015 Author Share Posted September 30, 2015 it worked, heres what i did SCN zRespawnEveryday Short Today Begin GameMode If Today !=Gameday Resetinventory Endif End Link to comment Share on other sites More sharing options...
Rattlerx5150 Posted September 30, 2015 Author Share Posted September 30, 2015 (edited) (DELETED) Edited September 30, 2015 by Rattlerx5150 Link to comment Share on other sites More sharing options...
DaemonGrin Posted September 30, 2015 Share 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. Link to comment Share on other sites More sharing options...
Rattlerx5150 Posted September 30, 2015 Author Share Posted September 30, 2015 Can anyone help me out rewriting this script using GameHourspassed please Link to comment Share on other sites More sharing options...
Recommended Posts