miasdad 94 Posted February 9, 2016 Hi, I'm making an apocalyptic-style mission and want to insert an LHD/Carrier but spawned lying on its port/starboard side.Trying the setvector command but it spawns upright still. Share this post Link to post Share on other sites
dreadedentity 278 Posted February 9, 2016 Make sure you are using setVectorUp. That's about as far as I can help you with that command, as I don't understand it either. However there is a much better BIS function for this, BIS_fnc_setPitchBank. It does all of the trigonometry work for you. You will want to set the "bank" parameter to have the object lying on it's side 1 Share this post Link to post Share on other sites
miasdad 94 Posted February 9, 2016 Thanks pal.Trying the pitch command. Share this post Link to post Share on other sites
miasdad 94 Posted February 9, 2016 Thanks for reply but didn't work.Still upright using this [ship, 45, -45] call BIS_fnc_setPitchBank Share this post Link to post Share on other sites
dreadedentity 278 Posted February 9, 2016 should work fine, post the whole script Share this post Link to post Share on other sites
miasdad 94 Posted February 9, 2016 [ship, 45, -45] call BIS_fnc_setPitchBank is what I put in the boats init.Is it wrong?I'm somewhat new to to manipulating objects via scripting somewhat.Used to editors that allow you to manipulate every object with just a mouse(BF2 for example). Share this post Link to post Share on other sites
dreadedentity 278 Posted February 9, 2016 I don't know why this isn't working, it should. Did you name it ship in the editor? Share this post Link to post Share on other sites
miasdad 94 Posted February 9, 2016 Yep.Here I was thinking placing the oil rig was going to be a headache but it fit perfect.Thinking about scrapping the LHD for the battleship Iowa since it ALWAYS spawns on its starboard side without fail! Share this post Link to post Share on other sites