Jump to content

AI Helos Incorrectly Orbiting


Recommended Posts

When using the Orbit/Circle triggered command, AI helos act strangely. As can be seen in the attached trk file, once the helo enters the trigger zone, the ORBIT triggered command is activated, BUT, the helo goes back to the previous waypoint to carry out the orbit and does not orbit in the trigger zone. Thus meaning, you have to set a waypoint at the edge of the trigger zone, to keep the helo orbiting in the area you require.

If designers are unaware of this, it can lead to the helo orbiting at far greater distances than they are designed or desire.

AI Orbit .trk

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

@Florence201 yes it works this way, and it is intended (it is not a bug, I've already asked for this topic). As the "Orbit" task seems to be by design a "waypoint action" (even if created in "triggered actions" tab), it always sets its orbit center to the "currently passed waypoint", when Orbit task is activated with "AI Push Task".

If you use "AI Set Task" instead, the orbit will be centered on actual position of the aircraft, because "AI Set task" does erase the route and associated tasks, so the only "currently passed waypoint" is the actual position of the aircraft (it is like if it just spawned here with no other wpt/task). Consequence is that when Orbit ends, the aircraft just RTB.

With airplanes, there is a workaround : using aerobatics to do circles (as much as you want, cumulating aerobatics if necessary), as aerobatics happens at the point the airplane is when it is triggered (and simply using a stop flag to resume flight plan).

But Helos don't have aerobatics option.

Edit : attached an example with very simple script solution (AI group orbits where it stands, and resume route, using player's F10 radio menu to execute functions)

 

Test-orbit-resume-script.miz


Edited by toutenglisse
in post
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...