CougarFFW04 Posted November 7, 2021 Posted November 7, 2021 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
Rokkett Posted November 7, 2021 Posted November 7, 2021 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
CougarFFW04 Posted November 8, 2021 Author Posted November 8, 2021 Hi Rokklett, Will try but it's not possible to test 2 flags in the "race track stopping conditions" May be with a Lua predicate...
Rokkett Posted November 8, 2021 Posted November 8, 2021 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.
Recommended Posts