Ellman 9 Posted April 13, 2021 Hi I've been trying to figure this out for X amount of hours and I can't get it to work for my life. I've built a tunnel that is 52 meters above the sea level and whenever I attempt to teleport to it it either teleports me above it or below it. Tested teleport scripts: this addAction ["Enter Elevator", {player setPos [x,y,z]}] and this addAction ["Enter Elevator", {player setPos (getPos object)}] But even though I define the altitude in the first example I can't manage to teleport into the tunnel. This script works fine but it's a automatic teleport and I want it to be done via an add action:https://www.armaholic.com/page.php?id=31116 Hoping somone here knows more then me and can help 🙂 Share this post Link to post Share on other sites
gc8 981 Posted April 14, 2021 try using setposATL instead. with that command the zero z value is the terrain height 2 Share this post Link to post Share on other sites
Joe98 92 Posted April 14, 2021 In the editor, place a box in the exact position as that will give you the exact coordinates. Remove the box. Then as a test, see if you can teleport a box to that position. . Share this post Link to post Share on other sites
beno_83au 1369 Posted April 14, 2021 Yeah use what @gc8 suggested. I believe setPos takes its z value from the waves, so it'll be slightly higher/lower each time. 1 Share this post Link to post Share on other sites