Use ingress/arrival for helicopter join/split wpts

This commit is contained in:
Raffson
2024-02-18 13:42:21 +01:00
parent fc467b62e0
commit e5d199f20b
6 changed files with 43 additions and 29 deletions

View File

@@ -11,7 +11,8 @@ from .pydcswaypointbuilder import PydcsWaypointBuilder
class BaiIngressBuilder(PydcsWaypointBuilder):
def add_tasks(self, waypoint: MovingPoint) -> None:
self.register_special_ingress_points()
waypoint.tasks.append(OptFormation.trail_open())
if not self.flight.is_helo:
waypoint.tasks.append(OptFormation.trail_open())
# TODO: Add common "UnitGroupTarget" base type.
group_names = []
target = self.package.target