Jump to content
  • 0

Map Edit + Indestructable Bases


SN1P3R

Question

5 answers to this question

Recommended Posts

  • 0

for this so say for instance

 

_vehicle_0 = objNull;
if (true) 
{
  _this = createVehicle ["MBG_Warehouse_InEditor", [10271.324, 12025.806, 266.20486], [], 0, "CAN_COLLIDE"];
  _vehicle_0 = _this;
  _this setDir 386.80984;
  _this setPos [10271.324, 12025.806, 266.20486];
};
 
 
to this
 
 
_vehicle_0 = objNull;
if (true) this allowDamage false; this enableSimulation false;
  _this = createVehicle ["MBG_Warehouse_InEditor", [10271.324, 12025.806, 266.20486], [], 0, "CAN_COLLIDE"];
  _vehicle_0 = _this;
  _this setDir 386.80984;
  _this setPos [10271.324, 12025.806, 266.20486];
};

 

 

Is this correct?

 

 

Thanks in advance,

Jay

Link to comment
Share on other sites

  • 0

This is how mine is now and it works

 

  _this = createVehicle ["MBG_Warehouse_InEditor", [10271.324, 12025.806, 266.20486], [], 0, "CAN_COLLIDE"];

  _this setDir 386.80984;
  _this setPos [10271.324, 12025.806, 266.20486];
  _this removeAllEventHandlers "handleDamage";        _this addEventHandler ["HandleDamage", {false}];
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...