Oli89 0 Posted February 17, 2021 I'm using this command in my sqs file for creating a bunker: Name Object-Type X Y Z degree angle [Wall0001 , "Z_Cover_15M" , 9903.0 , 4259.0 , -15 , 180 ] exec "Bunker\Bau.sqs" I have a problem with placing the correct height when i want to make the roof (the ground plate is correct). Now I got the hint to use "setPosASL" because it uses the absolute height XX setPosASL [9475.12,4057.52,29.8336]" How do I replace because I work with the first command and create new objects Share this post Link to post Share on other sites
krzychuzokecia 719 Posted February 17, 2021 30 minutes ago, Oli89 said: I'm using this command in my sqs file for creating a bunker: Name Object-Type X Y Z degree angle [Wall0001 , "Z_Cover_15M" , 9903.0 , 4259.0 , -15 , 180 ] exec "Bunker\Bau.sqs" That's not a "command"*, you're just executing another script. The "Bau.sqs" file in (I assume) "bunker.pbo" is where the magic happens, and where you could try to fit setPosASL. Can you extract that file and copy it's content here? *I mean, it is "exec" command, but that's really not "the" command you're interested in :D Share this post Link to post Share on other sites
Oli89 0 Posted February 27, 2021 I already found it by myslef. But thank you for your help. In this file "Bau.sqs"" there was all the "setpos" commands but unfortunately after changing from setpos to setPosASL all objects were placed now wrong. Here my Script wit setpos And here with setPosASL Share this post Link to post Share on other sites