Jump to content
Sign in to follow this  
Bunny75

Delete building

Recommended Posts

Is it possible to delete a building from the map? For example a house id 223850 from chernarus.

Share this post


Link to post
Share on other sites

You can delete them, they won't however come back until you reload the map.

There is a thread on here somewhere.

Share this post


Link to post
Share on other sites

You can delete a building using the deleteCollection command.

Create a gamelogic and in the init line put:

deleteCollection (getPos this nearestObject 123456)

This is however bugged, you will get a CTD the second time you preview. So you can preview the mission one time, the building will be completely gone. The second time you preview you get a CTD, or in my case a frozen computer screen :yay: isnt that awesome.

Edited by cobra4v320

Share this post


Link to post
Share on other sites
You can delete a building using the deleteCollection command.

Create a gamelogic and in the init line put:

deleteCollection (getPos this nearestObject 123456)

This is however bugged, you will get a CTD the second time you preview. So you can preview the mission one time, the building will be completely gone. The second time you preview you get a CTD, or in my case a frozen computer screen :yay: isnt that awesome.

So, this been verified on another computer?

Share this post


Link to post
Share on other sites

Tested and working, well at least the first preview. Do a search on these forums there is additional info to be found with others having the same issues. Im also using the latest beta patch.

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  

×