Jump to content
Sign in to follow this  
Aralvar

How to refill crate?

Recommended Posts

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×