MWPA 10 Posted June 25, 2011 I've been placing buildings and other structures in the editor and often they follow the contour of the ground. It's very obvious with radar towers and other tall objects. I've read about setVectorUp and setVectorDir in Mr.Murray's guide but they sound a bit difficult so I've been concentrating on learning other scripting commands. I've read about some functions that take some of the difficulty out of the process but I haven't tried them either. What I'm hoping to find is something that can be called from the init field of an object that will "zero" its vectors so that the object sits level on the ground. From that point I can set its height and any visible empty space left underneath can be filled with the giant concrete slabs in the Training Objects category or the H-Barriers perhaps. Any help would be deeply appreciated. ---------- Post added at 04:00 PM ---------- Previous post was at 03:56 PM ---------- Also: how do I move this to the appropriate section, I just realized this should be in the Scripting Help forum Share this post Link to post Share on other sites
Spartan 163 0 Posted June 25, 2011 Tell a mod so he can move it. There is no auto level script addon. At least not yet. There is a comand that you can call that will even the building out. Share this post Link to post Share on other sites
MWPA 10 Posted June 26, 2011 Thanks, just reported it. It took a while to find the "report post" button. Share this post Link to post Share on other sites
f2k sel 164 Posted June 26, 2011 This should level stuff up. objectname setvectorup [0,0,1]; Share this post Link to post Share on other sites
MWPA 10 Posted June 27, 2011 Thank you F2k Sel, it's easier than I thought Share this post Link to post Share on other sites