Rotate Objects | Open DayZ Community

Open DayZ
  • Home
  • Forums New posts Search forums
  • What's new New posts New profile posts Latest activity
  • Members Current visitors New profile posts Search profile posts
Log in Register What's new Search

Search

Everywhere Threads This forum This thread Search titles only By: Search Advanced search…
  • New posts
  • Search forums
Menu Log in Register Navigation Install the app Install How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

More options Close Menu
  • Home
  • Forums
  • DayZ Mod / Arma Scripting & Editing
  • Map Additions
You are using an out of date browser. It may not display this or other websites correctly.You should upgrade or use an alternative browser. rotate objects
  • Thread starter Zeehond23
  • Start date Oct 29, 2013
Z

Zeehond23

Valued Member!
Hi, How do I rotate objects (like a locomotive) so it lays on it's side rather than stand upright? What would I add to this: Code: _vehicle_134 = objNull; if (true) then { _this = createVehicle ["Land_loco_742_blue", [4899.187, 6079.8657, 0.17932098], [], 0, "CAN_COLLIDE"]; _vehicle_134 = _this; _this setDir -97.659218; _this setPos [4899.187, 6079.8657, 0.17932098]; }; thanks! C

cen

Valued Member!
I don't think you can rotate them that way, only the direction they are facing. R

Rentiger1112

Member
cen what is your server provider for overwatch? C

cen

Valued Member!
I provide it myself :D R

Rentiger1112

Member
:) do you know any hosters that have 0.2.5 running? C

cen

Valued Member!
Dayz.st does U

UrbanSkaters

Valued Member!
Use the setVectorUp command: Code: YourVehicleName setvectorup [0,0.1,0.01]; More information on this command here: http://community.bistudio.com/wiki/setVectorUp Z

Zeehond23

Valued Member!
thanks for the tip, though I cant figure out where to add this in my .sqf AlienX

AlienX

Valued Member!
Here probs, if this does nothing then put it after the setpos line. Code: _vehicle_134 = objNull; if (true) then { _this = createVehicle ["Land_loco_742_blue", [4899.187, 6079.8657, 0.17932098], [], 0, "CAN_COLLIDE"]; _vehicle_134 = _this; _this setDir -97.659218; _this setVectorUp [0,0.1,0.01]; _this setPos [4899.187, 6079.8657, 0.17932098]; }; Z

Zeehond23

Valued Member!
thanks for the help, works like a charm everyone! You must log in or register to reply here. Share: Facebook X (Twitter) Reddit Pinterest Tumblr WhatsApp Email Share Link
  • Home
  • Forums
  • DayZ Mod / Arma Scripting & Editing
  • Map Additions
  • This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register. By continuing to use this site, you are consenting to our use of cookies. Accept Learn more…
Back Top

Tag » How To Rotate Items Dayz