LoadingSA Posted February 24, 2014 Report Share Posted February 24, 2014 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: _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. Link to comment Share on other sites More sharing options...
Namindu Posted February 24, 2014 Report Share Posted February 24, 2014 in the editor. Make it then hit save. It should have moved, then remove it back to where you want it and save it again. Then export and put ingame. Link to comment Share on other sites More sharing options...
Sukkaed Posted February 24, 2014 Report Share Posted February 24, 2014 This works fine for me. _this setVectorUp [0, 0, 1]; Not sure what your +0.1 does there. Link to comment Share on other sites More sharing options...
LoadingSA Posted February 24, 2014 Author Report Share Posted February 24, 2014 This works fine for me. _this setVectorUp [0, 0, 1]; Not sure what your +0.1 does there. Link to comment Share on other sites More sharing options...
unerground2 Posted March 1, 2014 Report Share Posted March 1, 2014 in the editor. Make it then hit save. It should have moved, then remove it back to where you want it and save it again. Then export and put ingame. 100% Right ( you dont have to do anything else just that ) xBowBii 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now