killermanny9 2 Posted November 15, 2019 Hello, ive got a script that activates on trigger that works perfect. it makes a helicopter move between a few randomly created waypoints. My problem here is that after the helicopter reaches the generated waypoint it just freezes and stays in a hover over the spot when I want it to land and force out any troops. I'm also trying to find out how to remove the eject button from playable characters when they are in a moving helicopter. Below I have what I'm using on the trigger to move the helicopter randomly. I tried changing "move" to other things such as unload or transport unload but it has the same result or just errors me. Please note ive got the scripting knowledge of a retarded peanut. Thanks for any help. heliGroup = group H1; randomPoint = selectRandom ["marker1", "marker2", "marker3"]; wp = heliGroup addWaypoint [markerPos randomPoint, 0]; wp setwaypointtype "MOVE"; wp setWaypointSpeed "NORMAL"; wp setWaypointBehaviour "AWARE"; Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted November 15, 2019 Get Out and Eject actions won't show when the vehicle is locked, something like that: H1 setVehicleLock "LOCKED"; Then to force the chopper to land you need to order the groups that you want to disembark to do so, like this: wp setWaypointStatements ["true", "H1 setVehicleLock 'UNLOCKED';units Squad_1 allowGetIn false"]; Cheers 1 Share this post Link to post Share on other sites
killermanny9 2 Posted November 15, 2019 46 minutes ago, Grumpy Old Man said: Get Out and Eject actions won't show when the vehicle is locked, something like that: H1 setVehicleLock "LOCKED"; Then to force the chopper to land you need to order the groups that you want to disembark to do so, like this: wp setWaypointStatements ["true", "H1 setVehicleLock 'UNLOCKED';units Squad_1 allowGetIn false"]; Cheers Thank you, those worked perfect with locking the heli until it reaches it's target. Do you by change know what I should change the "move" to in my original script in order to make the helicopter land? Ive tried other commands but they just give me an error. Share this post Link to post Share on other sites
Larrow 2800 Posted November 15, 2019 16 minutes ago, killermanny9 said: know what I should change the "move" to in my original script in order to make the helicopter land? setWaypointType Waypoint Types 1 Share this post Link to post Share on other sites
killermanny9 2 Posted November 15, 2019 Just now, Larrow said: setWaypointType Waypoint Types That was exactly the thing I was looking for, thank you! Share this post Link to post Share on other sites