Jump to content

Recommended Posts

Posted

Hi everyone,

I am facing the following problem:

- After take-off when passing W1 F1 activates flag that will tell F2 to go "escort"

- F2 take-off and then orbit at a given Wpt. When flag goes true (i.e. F1 W1) he stops orbiting (race track stop condition on flag) and comits to the "escort task".

The problem is the following : if flag goes true after F2 has already started his race track everything is find and F2 comits to the escort task however if flag goes true (F1 reaches his Wpt1) before F2 starts his race track, then F2 do not comit to the escort task and RTB.

Any idea about what's going wrong and how to fix this ?

Thanks

Posted

Try this:

When F1 enter WP 1 -> Flag 1 is true.

When F2 enters WP 2 (commences orbit) -> Flag 2 is true.

When Flag 1 and Flag 2 are true -> AI push task F2 escort

Posted

To set the stop orbit condition you could try:

When Flag 1 and Flag 2 are true -> set Flag 3 true.

When Flag 3 true -> stop orbit; AI push task F2 escort.

  • Recently Browsing   0 members

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