Jump to content
HokoB

Plane won't follow waypoint, flies in circles

Recommended Posts

Hello
I am creating a mission where I'm trying to get a plane to spawn to do CAS after a player has taken out AA.
For whatever reason the CAS module wasn't working which I suspect is because the plane is from the IFA3 mod.

I borrowed and edited a script from another thread:
 

grp_P39 =  [[6900, 7600, 600], IND_F, ["LIB_RAF_P39"], [], [], [], [], [], 10] call BIS_fnc_spawnGroup;
wp_cas = grp_P39 addWaypoint [5575, 9200, 0];
wp_cas setWaypointType "SAD";
wp_cas setWaypointBehaviour "SAFE";
wp_cas setWaypointCombatMode "RED";
wp_cas setWaypointCompletionRadius 50;

Upon activation the plane spawns just fine. I used coordinates instead of markers to make sure nothing was wrong in that department, but instead of flying to the Seek and Destroy waypoint the plane flies circles over its spawn
Any thoughts?
Thanks!

Share this post


Link to post
Share on other sites

@HokoB,
Hey hoko!

I think a similar issue was resolved here,

hint: it isn't (broken).

Have fun!

Share this post


Link to post
Share on other sites
4 hours ago, HokoB said:

wp_cas = grp_P39 addWaypoint [5575, 9200, 0];

Incorrect params for addwaypoint.

Quote

groupName addWaypoint [center, radius, index, name]

wp_cas = grp_P39 addWaypoint[ [5575, 9200, 0], 0 ];

 

  • Like 1
  • Thanks 1

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

×