Turambar 10 Posted August 7, 2013 (edited) Hi all. I am making an intro for my mission. I have an helicopter with 3 units inside. This helicopter lands, then I order to the units to get out, then to come in a marker's location. Here's the script : heli land "LAND"; waitUntil{isTouchingGround heli}; sleep 6; doGetOut bodyGuard1; doGetOut bodyGuard2; doGetOut bodyGuard3; bodyGuard1 doMove (getMarkerPos "pos_1"); bodyGuard2 doMove (getMarkerPos "pos_2"); bodyGuard3 doMove (getMarkerPos "pos_3"); while{(!stopped bodyGuard1) OR (!stopped bodyGuard2) OR (!stopped bodyGuard3)} do { if(((getMarkerPos "pos_1" distance bodyGuard1) < 1) AND (!stopped bodyGuard1)) then {bodyGuard1 stop true}; if(((getMarkerPos "pos_2" distance bodyGuard2) < 1) AND (!stopped bodyGuard2)) then {bodyGuard2 stop true}; if(((getMarkerPos "pos_3" distance bodyGuard3) < 1) AND (!stopped bodyGuard3)) then {bodyGuard3 stop true}; }; sleep 2; heli is the helicopter (:p), bodyGuard1, 2 and 3 are the units. "pos_1", "pos_2" and "pos_3" are 3 markers. The units should go to the marker, then stop there. But they get out of the helicopter, they walk around (randomly), then they get in the helicopter again... :confused: Have someone an idea, please ? I tried using waypoints rather than doMove, that doesn't work too. Thank you for helping me :) Edited August 7, 2013 by Turambar Share this post Link to post Share on other sites
Sniperwolf572 758 Posted August 7, 2013 You might need to unassign them from the vehicle with unassignVehicle Share this post Link to post Share on other sites
Turambar 10 Posted August 7, 2013 That works fine, thank you very much ;) Share this post Link to post Share on other sites