Jump to content
Sign in to follow this  
exikutioner

Removing Trees from a map

Recommended Posts

So I am working on a little project, and have come across the need to remove some trees from a map. I know it is possible to "kill them at start" by using the Tree ID, however I cannot find anything that shows HOW to find the ID. Help!

Share this post


Link to post
Share on other sites

Place a game logic over the trees and name it eg. logic1 and place the code in it's init box

things = nearestObjects [logic1,[],15]; {_x setdamage 1;} forEach things;

It will destroy all objects within a 15 radius, you can change that to what you require.

You won't be able to remove them you can only knock them down.

  • Like 2

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  

×