*** Fixed ***
I changed this: _wp1 = _heliGroup addWaypoint [_heliLz,0];
to this: _wp1 = _heliGroup addWaypoint [_heliLz,-1];
Totally missed it in the biki
***************
Hi, I'm new to scripting in Arma and I have been trying to create a script to spawn a helicopter, load it with other group and unload them in a position. The problem comes when their landing zones are close and they start to fight between each other for them, however I have tried to do it with the eden editor and if you attach each waypoint to each helipad they seem to respect it. I have tried to attach the waypoint to the helipad with waypointAttachObject but I don't get the same result. I have also read in the forum that the helicopter AI claims the lz when flying over them but even if I assign them routes without hovering other landing zones there is no change.
The code: (it's supposed to be executed in a dedicated server)
This is what happens when I execute the script:
And here you can see how one of the helis didn't like his assigned lz
Here is the behaviour with the eden created waypoints: