Jump to content
Sign in to follow this  
SSG J. Switch

Remove/delete BI placed objects?

Recommended Posts

Hello,

If there's a post about this specifically I apologize, but I did search and couldn't find this specific answer.

I would like to remove/delete a BI placed structure on Stratis, but not just "hideObject" which apparently just makes it invisible, but it is still physically there, or "setDamage" which leaves rubble from the damaged structure on the ground. Any thoughts on this?

For bushes I've been using this

(position this nearestObject XXXXXX) setdamage 1;
and it does a nice job of just flattening out bushes and trees, but using that on buildings blows them up and leaves a pile of rubble as I said.

Share this post


Link to post
Share on other sites
Hello,

If there's a post about this specifically I apologize, but I did search and couldn't find this specific answer.

I would like to remove/delete a BI placed structure on Stratis, but not just "hideObject" which apparently just makes it invisible, but it is still physically there, or "setDamage" which leaves rubble from the damaged structure on the ground. Any thoughts on this?

For bushes I've been using this and it does a nice job of just flattening out bushes and trees, but using that on buildings blows them up and leaves a pile of rubble as I said.

I use the attachto method.

Use the map editor to find out the ID of the building you want to "remove". Then place a game logic, eg. a camp on top of it, and write this in it's init field: Replace the X with a number to identify your building and ID with the ID you see in the map editor

buildingX = (position this nearestobject ID);

After this, place an object, eg. a battery, set its altitude to -500m and place it somewhere safe. Then attach the buildingX using this: Replace the X with the number you have given the building before.

buildingX attachto [this, [0,0,0]];

Edited by gabberxxl

Share this post


Link to post
Share on other sites

Thanks gabberxxl, but have you tried this and had it successfully work? I followed your instructions and the building isn't disappearing. I attached screenshots of what Im looking at. Thanks!

8e1a823d51d2c05b26c66dc2aa2ed86d.png

86b476dc5f6e94453d492dcfb74d4ab4.png

46cb73c6087b88534f35d8129804d499.png

Share this post


Link to post
Share on other sites
Thanks gabberxxl, but have you tried this and had it successfully work? I followed your instructions and the building isn't disappearing. I attached screenshots of what Im looking at. Thanks!

http://i.gyazo.com/8e1a823d51d2c05b26c66dc2aa2ed86d.png

http://i.gyazo.com/86b476dc5f6e94453d492dcfb74d4ab4.png

http://i.gyazo.com/46cb73c6087b88534f35d8129804d499.png

Confirmed, this does not work anymore. Probably since 1.24 bootcamp update :mad:

Share this post


Link to post
Share on other sites
Confirmed, this does not work anymore. Probably since 1.24 bootcamp update :mad:

Bootcamp update seems to have change lots of things, my JSRS wont work anymore either... *sigh*

Thanks for trying to help out though, I appreciate it.

Share this post


Link to post
Share on other sites

JSRS has been updated for Bootcamp.

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  

×