Jump to content
  • 0
Sign in to follow this  
SN1P3R

Map Edit + Indestructable Bases

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

Share this post


Link to post
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}];

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...