only spawn vehicles from mission.sqf

d0pefish

Member
apologies if this has been answered elsewhere.
coming from dayzcc i was able to import a mission.sqf file for vehicles which i'd placed in the 3d editor.
what i want, is for none of the part broken vehicles to spawn, i only want to spawn the specific vehicles from the sqf. is this possible?
would i just add them all to the instance_vehicle table or do they need adding elsewhere?

for example the mission.sqf has these lines:
Code:
_vehicle_40 = objNull;
if (true) then
{
  _this = createVehicle ["UH1Y", [3049.377, 7977.9541, 1.6212463e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_40 = _this;
  _this setDir -80.916832;
  _this setPos [3049.377, 7977.9541, 1.6212463e-005];
};
so would i just rip the worldspace position out or do i need to add all of these to the world_vehicles table first? all the vehicles would be fully fuelled and repaired.

any help would be greatly appreciated
 
Back
Top