Jump to content
Sign in to follow this  
LeadCommando65

Helicopter take-off issue - oldie, but goldie ;)

Recommended Posts

Hi,

I'm working on a mission where the player and his group need to be extracted by a helicopter. The helicopter needs to land, player group must get in and the helicopter should leave. But he does not.

Here's what I've got so far:

- helicopter route

- helipad (invisible) for landing

- player group

- waypoint near the helipad with OnActivation line: heli land "GET IN"

- trigger1 with condition: {alive _x} count units group player == (count crew heli)-4

- trigger1 with OnActivation line: heli domove getpos endmarker

- endmarker is an invisible helipad

My problem, as described above, is, that the helicopter is landing but not leaving after everyone got in. It stays on the ground with engines one, me and my squad are sitting in it, but the pilot doesn't take off.

I've also tried to use "heli flyinheight 100" for the take-off-trigger, but it's not working.

Any solution I could find for such helicopter issues gave me something with waypoints. I have a a little bit comlex mission with optional objectives, so I didn't use waypoints for team (and I think it would be quite confusing to have a "get in"-waypoint the whole mission until the objectives are completed).

Does anybody know I could force my helicopter to take off?

Thanks for your answers.

LeadCommando65

//edit: trigger condition fixed, thanks to DTM2801, problem still existing

Edited by LeadCommando65

Share this post


Link to post
Share on other sites

probably because the object endmarker (I assume its a marker not an object) cant be found, try it with:

trigger condition: {alive _x} count units group player == (count crew heli)-4

trigger act: heli domove getmarkerpos "endmarker";

Edited by DTM2801

Share this post


Link to post
Share on other sites
probably because the object endmarker (I assume its a marker not an object) cant be found, try it with:

trigger condition: {alive _x} count units group player == (count crew heli)-4

trigger act: heli domove getmarkerpos "endmarker";

Thanks, forgot to write units^^. Does not help either if I use a marker :(

The object endmarker is an object (invisible helipad), so getpos should work (the name is bad, I know^^).

The condition of the trigger is now true, when the whole team sits in the helicopter (checked that by giving myself a hint).

But the problem still exists.

Share this post


Link to post
Share on other sites

Ok, I tried to replicate the issue with the invisible helipads.

Chopper "heli" start flying with 1 waypoint MOVE, act: heli land "GET IN"

1 group of 4 soldiers (including player)

Trigger 50x50 near helipad:

- activation: "BLUFOR"

- Once

- Present

- type: "none"

- condition: {alive _x} count units group player == (count crew heli)-4

- act: heli domove getpos endmarker;

Result: chopper lands (with engine running) and waits until all 4 units boarded, then flies off to endmarker position.

As far as I can see there is no difference with your config, as last resort maybe you can post your map.

Share this post


Link to post
Share on other sites

Wow, great thanks for your efforts.

Good to hear it's working like I thought. It's strange, why it's not working in my mission. Maybe there are some leftovers from my previous attempts to make it work in other ways.

Before posting my whole mission, I'll create a blank map and try the extraction part separately. Hopefully, it will work this time.

//edit: Got it to work now! :yay: But you won't think of THAT reason. The helipad "endmarker" was placed too far into the ocean, maybe even beyond map borders.

The helicopter just refused to fly out of the map :D

Anyway, thanks for your testing. I don't know how I should have solved this without it.

Edited by LeadCommando65

Share this post


Link to post
Share on other sites

Edit: Only working in editor. works flawlessly--

Seems to go wrong somehow on our dedicated server: When we hit the trigger, the chopper doesnt pick us up, but somehow manges to fly to the endpoint, eventually...:confused:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×