Jump to content

Recommended Posts

How do i make wrecks dissapear after say 1 minute, like in King of the Hill?

did you try garbage collector... 

Share this post


Link to post
Share on other sites

 did you try garbage collector... 

I tried it, it does not seem to work for script-spawned vehicles...

Share this post


Link to post
Share on other sites

For those finding this thread in the future, since OP didn't say how he solved it:

 

Add to Description.ext

wreckLimit = 1;
wreckRemovalMinTime = 60; //seconds
wreckRemovalMaxTime = 60; //seconds
wreckLimit: Limit of total wrecks at any time.
wreckRemovalMinTime: Remove all wrecks that have existed longer than this when wreckLimit is breached.
wreckRemovalMaxTime: Maximum time a wreck can remain on the ground even when wreckLimit has not been reached.
 

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  

×