oli_uk 0 Posted August 7, 2009 I remember there was a script I used to use in OFP, after many reformats and new PC's I have lost it. Can anyone help me? Thanks in advance, oli Share this post Link to post Share on other sites
Big Dawg KS 6 Posted August 7, 2009 this setPosATL (this modelToWorld[0,0,<height>]) Figured I'd give the new ATL pos commands a try. Share this post Link to post Share on other sites
oli_uk 0 Posted August 7, 2009 this setPosATL (this modelToWorld[0,0,<height>]) Figured I'd give the new ATL pos commands a try. I get this error: "Missing ;" I tried using this instead: this setPosition (this modelToWorld[0,0,10]) Received no errors, but didn't work :( Share this post Link to post Share on other sites
dale0404 5 Posted August 7, 2009 (edited) this setPos [getPos this select 0, getPos this select 1,<height>]; Edited August 7, 2009 by dale0404 missed a ; Share this post Link to post Share on other sites
Big Dawg KS 6 Posted August 7, 2009 I get this error:"Missing ;" I tried using this instead: this setPosition (this modelToWorld[0,0,10]) Received no errors, but didn't work :( Did you install patch 1.03? Also where are you calling this code? Share this post Link to post Share on other sites
oli_uk 0 Posted August 7, 2009 this setPos [getPos this select 0, getPos this select 1,<height>]; This works, thanks! Did you install patch 1.03? Also where are you calling this code? Oh, didn't know there was a new patch out, downloading now. In the editor when you double click on an object, in the initialization box. Share this post Link to post Share on other sites
Big Dawg KS 6 Posted August 7, 2009 Yea, well setPosATL was only introduced in 1.03, that's why it didn't work for you... Share this post Link to post Share on other sites