Jump to content
  • 0

Need help making map additions indestructible


BB King

Question

As the title says, if I save to the DB to make items indestructible it straightens out the items/buildings and I need them to contour to the land. Is there anything I can add to the map addition .sqf to make the items not take damage? thanks in advance.

BB

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I know someone has had to have run into this before and hopefully came up with a solution. I have searched but came up with nothing. I make a map addition in the editor and the objects contour to the land. Once they are in game I save them to the DB so I can add them to the indestructible list and that straightens them out, thus things are out of place. I would like to either add something to the sqf file to make them not take damage and not save my map addition to the DB or have items saved to the DB set to where they do contour the land. Either one would fix my issue.

Link to comment
Share on other sites

  • 0

if (true) then
{
_this = createVehicle ["Land_Misc_Cargo2D", [6803.5986, 14118.661], [], 0, "CAN_COLLIDE"];
_blah_2195 = _this;
_this allowDamage false;
_this addEventHandler ["HandleDamage", {false}];
_this enableSimulation false;

_this setPos [6803.5986, 14118.661];
};

 

you could add the red lines to your objects/vehicles

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...