Jump to content
Sign in to follow this  
igneous01

deleting some trees from proving grounds....

Recommended Posts

I want to remove some trees from proving grounds because they completely obscure a certain ao and i need some LOS from a distance for a particular mission.

is there a way of doing this?

using an empty array for nearest objects would possibly give me the tree, but it might also delete somethings like bushes or rocks, which i dont really want.

Share this post


Link to post
Share on other sites

The deleteCollection command did that early on but the command was removed and hideObject works only for objects with a classname so no, it's not possible.

Share this post


Link to post
Share on other sites

You can't remove them but you can set them to be killed by default. Best case scenario is they fall over and look fine. Worst case is the roots stick up in the air and look even worse.

Make a gamelogic and put (position this nearestObject ID) setdamage 1; in the init. Replace ID with the ID of each tree you want to destroy. You could also put it in the init or a jip script if you so desire, just replace this with the name of the gamelogic.

Share this post


Link to post
Share on other sites

thanks strikor im going to try that hopefully it will provide enough clearance that i need thanks

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  

×