Llano 11 Posted March 22, 2013 Hi! Feels like i am spamming this forum, but i just can't find the answer on google. I ahve this simple code. When you spawn, a action is added ("Spawn"), which will spawn a vehicle. This work, but i also want to move the player into the driver seat, but that is not working of some reason. I get no error etc. player removeAction 0; _position = getPos player; _vehicle = "B_Hunter_HMG_F" createVehicle (_position); _vehicle engineOn true; _player moveInDriver _vehicle; Any idea what's wrong? Share this post Link to post Share on other sites
Tuliq 2 Posted March 22, 2013 Seems you are using a local variable _player instead of referring to the player variable. Try fixing that in the moveInDriver command. Share this post Link to post Share on other sites
Llano 11 Posted March 22, 2013 Seems you are using a local variable _player instead of referring to the player variable. Try fixing that in the moveInDriver command. Oh my... I always do some typos :) Thank you. I really need a editor that ca n highlight these small wrongs :) Share this post Link to post Share on other sites
whisky 1 Posted March 22, 2013 Oh my... I always do some typos :)Thank you. I really need a editor that ca n highlight these small wrongs :) Notepad++ With SQL syntex, it's in ArmAHolic, it's awesome. Share this post Link to post Share on other sites
frag 0 Posted March 22, 2013 Yes the Notepad++ Arma 3 addons work great! I strongly suggest it as well. Share this post Link to post Share on other sites