From 730130b19e2454cda99a182ab0df9b506838ba45 Mon Sep 17 00:00:00 2001 From: walterroach <37820425+walterroach@users.noreply.github.com> Date: Sun, 22 Nov 2020 16:41:53 -0600 Subject: [PATCH] Set AGL altitude on target waypoints --- gen/flights/waypointbuilder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gen/flights/waypointbuilder.py b/gen/flights/waypointbuilder.py index 74731929..7c2ecbd3 100644 --- a/gen/flights/waypointbuilder.py +++ b/gen/flights/waypointbuilder.py @@ -253,6 +253,7 @@ class WaypointBuilder: waypoint.description = description waypoint.pretty_name = description waypoint.name = target.name + waypoint.alt_type = "RADIO" # The target waypoints are only for the player's benefit. AI tasks for # the target are set on the ingress point so they begin their attack # *before* reaching the target. @@ -279,6 +280,7 @@ class WaypointBuilder: waypoint.description = name waypoint.pretty_name = name waypoint.name = name + waypoint.alt_type = "RADIO" # The target waypoints are only for the player's benefit. AI tasks for # the target are set on the ingress point so they begin their attack # *before* reaching the target.