Aralvar 1 Posted July 9, 2014 Okay, so I found a script that spawns loot into crates ( http://forums.bistudio.com/showthread.php?158571-Custom-Ammo-Crates-with-Random-Loadout ), but I can't find out how to make the crate refill itself after a certain amount of time. I tried putting "sleep 10;" at the end of the script to make it refill after 10 seconds (for testing purposes) since I saw other scripts do that to refill the crate, but it doesn't work here. Share this post Link to post Share on other sites
Joe98 92 Posted July 9, 2014 You could create a trigger. When the trigger fires, crate1 is deleted and crate2 is added to the map. Crate2 would of course be full. To the players, "crate1" has been refilled. Share this post Link to post Share on other sites
SavageCDN 231 Posted July 9, 2014 you would need to add a loop.. something like while {alive _crate} do { //crate fill stuff sleep 600; }; Check here for more info (yes it's for A3 but commands are similar) http://forums.bistudio.com/showthread.php?147962-Working-MP-ammo-box-script Share this post Link to post Share on other sites