Jump to content
Sign in to follow this  
dlang

Delete Native Bush ?

Recommended Posts

Hello,

 

Is there a way to delete native bush on the map ?

 

Tried some things whitout succes ...

Share this post


Link to post
Share on other sites

You should take a look at the nearestTerrainObjects command.

Share this post


Link to post
Share on other sites

Thanks, and then ?  I place a trigger, with

  nearestTerrainObjects [this trigger, ["Tree","Bush"], 200];   But I don't know what to put in activation to delete the bush ?

Share this post


Link to post
Share on other sites

But what hideObjectGlobal also prevents colliding with the bush? (Support Physx?)

 

Does anyone have the exact syntax to put in a trigger near the bush? :)

Share this post


Link to post
Share on other sites

Ok, i'm ion 1.56RC; I have some problems with local/global variables.

 

Can someone help me to find the correct activation line to put in a trigger to have nearest terrain objects (some bushs) deleted on mission start ?

Share this post


Link to post
Share on other sites

Ok, i'm ion 1.56RC; I have some problems with local/global variables.

 

Can someone help me to find the correct activation line to put in a trigger to have nearest terrain objects (some bushs) deleted on mission start ?

 

Why do you need a trigger for that?

Share this post


Link to post
Share on other sites

I don't know. :D In fact I try to remove the bushes around some objects I placed (to put a building instead ) automatically , and at the beginning of the mission.

Share this post


Link to post
Share on other sites
_x =  nearestTerrainObjects [this, ["House"], 20] ;{      _i hideObjectGlobal;  } count _x;

 

Here is what a tried to put in a Game Logic near my bush. This obviously does not work, someone would have the proper syntax ?

 

Edit: Sorry for the double post , it was not voluntary

Share this post


Link to post
Share on other sites

Try to understand commands instead of copy/pasting. Obviously you are not looking for Houses.

Greenfist gave you the answer. Btw dude are you the hulk fist or what ?

Share this post


Link to post
Share on other sites

Try to understand commands instead of copy/pasting. Obviously you are not looking for Houses.

Greenfist gave you the answer. Btw dude are you the hulk fist or what ?

I agree.

And no, it's just a name I picked at random about 15 years ago for some online game or something. I was in the army at the time and we had these green leather shooting gloves which sometimes dyed your hands when they got really wet, so.... :)

  • Like 1

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  

×