I'm new to scripting, but I have a game logic set up to spawn items from a few loot tables I made. Right now I'm trying to figure out how to make the GroundWeaponHolder delete its weapons/ammo and spawn new weapons/ammo after a set amount of time.
Also is there a way to make the loot spawn when a player enters an area, then when the player leaves, old loot is removed and new loot is spawned 10 minutes later?
EDIT: Also how do you spawn vests and uniforms in GroundWeaponHolders?