Jump to content
  • 0

Scripted helicopter crashes on landing


fail2ban

Question

Hi there,

maybe someone can help me with this one. I am running Epoch 1.0.4.2.

 

I have scripted some AI for our server. A helicopter goes on patrol and in the end it returns to its starting point and should land on the ground. I've got everything working - the lift off, the waypoints and even, after ages, the landing procedure. The helicopter comes in smoothly and then suddenly shortly before it hits the ground it explodes. I have read other posts in this forum that this can happen to non-scripted helis in 1.0.4.2, but I do not know if this is the same problem.

 

That's how I land the helicopter (on a helipad btw)

_wp = _unitGroup addWaypoint [_starting_location, 0];
_wp setWaypointType "UNLOAD";
_wp setWaypointCombatMode "GREEN";
_wp setWaypointBehaviour  "CARELESS";
_wp setWaypointSpeed "LIMITED";
_wp setWaypointStatements ["TRUE", "diag_log format ['Patrol: Unloading'];_helicopter land 'LAND';"];

One time the heli did land correctly. Even if I change the land parameter to "GET OUT" it will crash.  I am actually clueless now. Any ideas? Thx in advance.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...