Add RemoveGciCapZone in Chief (#1973)

This will add the ability to remove CGI CAP zone from chief.
This commit is contained in:
phr0gz
2023-08-01 10:00:17 +02:00
committed by GitHub
parent 09d4e155de
commit 56fcd8f37f
2 changed files with 31 additions and 0 deletions

View File

@@ -1485,6 +1485,17 @@ function CHIEF:AddGciCapZone(Zone, Altitude, Speed, Heading, Leg)
return zone
end
--- Remove a GCI CAP
-- @param #CHIEF self
-- @param Core.Zone#ZONE Zone Zone, where the flight orbits.
function CHIEF:RemoveGciCapZone(Zone)
-- Hand over to commander.
local zone=self.commander:RemoveGciCapZone(Zone)
return zone
end
--- Add an AWACS zone.
-- @param #CHIEF self
-- @param Core.Zone#ZONE Zone Zone.