mission.sqf problem (adding buildings to the map)

jayhamilton96

New Member
Hi there, i have made my custom map on the editor and used it before and its been fine.

However i wanted to add new content, now i did this from a fresh editor file. Did the usual and removed the unit, group and centre and all the other necessary text. And pasted the code for the new buildings into my current mission.sqf

Now i have checked everything and there are no errors, yet the server gets stuck on requesting authentication.

Now my theory for the problem is that for example, this following code is taken from my current mission.sqf

_vehicle_74 = objNull;
if (true) then
{
_this = createVehicle ["Land_A_BuildingWIP", [3491.8892, 2363.3237, -7.1525574e-006], [], 0, "CAN_COLLIDE"];
_vehicle_74 = _this;
_this setDir -19.863533;
_this setPos [3491.8892, 2363.3237, -7.1525574e-006];
};

Now in the new file which i've added another 200 buildings, therefore there is another

_vehicle_74 = objNull;
if (true) then
{
_this = createVehicle ["MAP_Mil_Mil_Guardhouse", [4829.6899, 2510.8584, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_74 = objNull;
_this setDir -205.22395;
_this setPos [4829.6899, 2510.8584, 3.8146973e-006];
};

which i have copied and pasted over. Having 2 of the same ID's for the vehicles ive added will this cause the error? does anyone know?

If this is the case i'll have to re-edit the new objects i placed into my current mission.sqf.

Does anyone know a way around it/or a fix?

Thanks
 
Last edited:
Back
Top