Jump to content

TheSeventhSense

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by TheSeventhSense

  1. I have a question about the buildings spawned in with the editor. I currently use an sqf file that calls in the mission file init. My question is how do I set the hitpoints for the objects? For example, I want to make the castle walls basically indestructible by making the hitpoints a very high number. Is there a line of code that you can put in to set those values?

     

    _vehicle_22 = objNull;

    if (true) then

    {

      _this = createvehicle ["Map_A_Castle_Wall1_20", [3777.3025, 7971.9102, 3.7063589], [], 0,

      "CAN_COLLIDE"];

      _vehicle_22 = _this;

      _this setDir 123.26903;

      _this setPos [3777.3025, 7971.9102, 3.7063589];

    };

     

    Thank you in advance for your help

     

×
×
  • Create New...