Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Helicopter wont stop?

  1. #1

    Helicopter wont stop?

    I did a search and found some help but it still isnt working.

    I have a helicopter that is flying to an invisible helipad to pick up some units and a meeting spot.

    I am trying to do this all with out ANY waypoints on the units since the players are all controlled by humans (except the helicopter).

    Right now I have a waypoint that says this...

    Code:
    bird1 land "GET IN"; dostop bird1; bird1 stop true
    I then have a trigger that says this

    Code:
    ({ (not (_x in bird1)) and (alive _x) } count (units (unit1))) == 0;
    each of my soldiers in my squad have the unit1 = group this.

    Now to the problem.

    My helicopter will land on the invisible helipad just like I asked. However, when ever any one of the single units gets in, the helicopter takes off! It doesn't wait for all of the units to get it.

    if I do the condition like this.

    Code:
    (soldier1 in bird1) AND (soldier2 in bird1)
    If I do that, then if soldier2 dies the helicopter will never take off. I want to do be able to do this with out executing a script. Isnt there a way to do this in the init line so that the helicopter doesn't leave everyone behind with out using commands or waypoints?

  2. #2
    Why not use waypoints, they should work fine with players.


    However, try this expression to check if all players have entered the chopper:
    Code:
    (count assignedCargo bird1) >= (count units unit1)

  3. #3
    There has always been a bit of trouble doing helicopter pick-ups, but I always managed to work it out with a few tweaks here and there. Try synchronising the soldier's board waypoint to the chopper's waypoint before its load waypoint.

    Also you can try 'flyinheight 5' or similar then tell it to fly at normal height when the soldiers are aboard.

  4. #4
    Really guys, get used to actually reading a persons question before typing in some random answer.

    He's not having issues getting the chopper to land, just a problem with telling the chopper when to continue and when not.


    ps.: This is like an troubleshooting thread, where you get suggested 3 times to check your router even though you already stated clearly in the very first post that the router is no the problem.
    Sorry, I just can't stand it. Nothing personal.

  5. #5
    Sergeant Major SNKMAN's Avatar
    Join Date
    Aug 29 2006
    Location
    Germany ( Lake Constance )
    Posts
    1,616
    Change:

    Code:
    "GET IN"
    to

    Code:
    "GETIN"
    The command was changed in ArmA 2.

  6. #6
    Quote Originally Posted by Tajin View Post
    Why not use waypoints, they should work fine with players.


    However, try this expression to check if all players have entered the chopper:
    Code:
    (count assignedCargo bird1) >= (count units unit1)
    I hate using waypoints because they are restrictive. I also hate waypoints because most of my clan are a bunch of older men who cant/wont understand the command structure so I need to make missions as plain and easy as possible.

    Unfortunately this change did not work either.

    Quote Originally Posted by SNKMAN View Post
    Change:

    Code:
    "GET IN"
    to

    Code:
    "GETIN"
    The command was changed in ArmA 2.
    Actualyl makes things worst, because now when the UH-1 lands, it shuts off its engine as well and it still left after the first person with that change. "GET IN" still made it land just fine and kept its engine on.

    EDIT

    I found out that the reason the UH1 is still moving has nothing to do with this code.

    Code:
    ({ (not (_x in bird1)) and (alive _x) } count (units (unit1))) == 0;
    That check works fine. For some reason the stop commands are not stoping the UH1. Even if some one NOT in the squad gets in it first it takes off. So for some reason I need to find a way to KEEP it stoped after it lands.

    ---------- Post added at 05:58 PM ---------- Previous post was at 05:26 PM ----------

    man NOTHING stops this helicopter. I even did disableAI move. There is NO CHECK for it to start moving again. It should be sitting on the helipad forever, even if my squad is in it, it should sit there.

    But it doesn't... it keeps flying away when some one gets in.

    In one command line i have dostop, stop, commandstop, disableai move. What the heck is it gonna take to make this thing freaking stop?
    Last edited by Kocrachon; Jun 12 2009 at 17:38.

  7. #7
    aren't the dostop and disableai move and so on more made for foot soldiers than vehicles?
    try with syncornizing the get in waypoint from the soldiers with the choppers load waypoint? Thats how I usually do it.

  8. #8
    Quote Originally Posted by Commando84 View Post
    aren't the dostop and disableai move and so on more made for foot soldiers than vehicles?
    try with syncornizing the get in waypoint from the soldiers with the choppers load waypoint? Thats how I usually do it.
    I need to do this -with out- waypoints. I have this based on an evolving battlefield where the situation can/will change based on probability of presence. So waypoints will not work well.

    I am also working with a group of old men (well, 50ish), who also dont want to be hassled with learning the command structure (telling them to mount and so forth).

    I just need to have the helicopter land, stay landed, until told to move again..

    Why is this so hard to accomplish.

    Also with out the dostop command, the helicopter touches town but takes right off. With it, the helicopter at least touches down and waits for at least one person to get in... now to make it wait for all 4 people in my squad to get in.
    Last edited by Kocrachon; Jun 12 2009 at 18:23.

  9. #9
    I believe it is a new problem with ArmA 2.

    Back in ArmA 1 if you combined dostop with stop it fixed the problem, but yeah its still doing it for me too.

  10. #10
    Ok, I just tried doing it with the waypoint way of a getin waypoint synced with the helicopters load waypoint.

    The problem is the same thing.

    One player gets into the helicopter, and it takes off with out the rest.

    Again I need to think of a way to get all of the units in the helicopter with out needed to use the mount command due to the people I play with.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •