EscapeGoat
New Member
I'm trying to place a new tower at castle rog but everytime I save the change and import it into the server the tower comes in tilted very badly to one side. Here is the code I have so far:
I've tried adding the setVectorUp line to right the building with little seccuess.
Code:
_vehicle_1 = objNull;
if (true) then
{
_this = createVehicle ["Land_A_Castle_Bergfrit", [11281.459, 4299.2485, 0.056658447], [], 0, "CAN_COLLIDE"];
_vehicle_1 = _this;
_this setVectorUp [0,0,+0.1];
_this setDir -23.467649;
_this setPos [11281.459, 4299.2485, 0.056658447];
};
_vehicle_2 = objNull;
if (true) then
{
_this = createVehicle ["Land_A_Castle_Stairs_A", [11270.856, 4301.209, -0.86050135], [], 0, "CAN_COLLIDE"];
_vehicle_2 = _this;
_this setDir 63.065243;
_this setVectorUp [0,0,+0.1];
_this setPos [11270.856, 4301.209, -0.86050135];
};
I've tried adding the setVectorUp line to right the building with little seccuess.
Last edited: