From 3f251c38d89cb8212a84b47b55e698e7185fce8d 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 3b67e8e0..8727d8b3 100644 --- a/gen/flights/waypointbuilder.py +++ b/gen/flights/waypointbuilder.py @@ -183,6 +183,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. @@ -209,6 +210,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.