Use SEAD for SEAD.

The F-14 was fixed to allow this in the latest patch.
This commit is contained in:
Dan Albert 2023-08-16 19:33:58 -07:00
parent d3b4d45bd6
commit 5f3e342a0e

View File

@ -18,6 +18,7 @@ from dcs.task import (
OptRestrictJettison,
Refueling,
RunwayAttack,
SEAD,
Transport,
)
from dcs.unitgroup import FlyingGroup
@ -164,10 +165,7 @@ class AircraftBehavior:
)
def configure_sead(self, group: FlyingGroup[Any], flight: Flight) -> None:
# CAS is able to perform all the same tasks as SEAD using a superset of the
# available aircraft, and F-14s are not able to be SEAD despite having TALDs.
# https://forums.eagle.ru/topic/272112-cannot-assign-f-14-to-sead/
group.task = CAS.name
group.task = SEAD.name
self.configure_behavior(
flight,
group,
@ -275,10 +273,7 @@ class AircraftBehavior:
)
def configure_sead_escort(self, group: FlyingGroup[Any], flight: Flight) -> None:
# CAS is able to perform all the same tasks as SEAD using a superset of the
# available aircraft, and F-14s are not able to be SEAD despite having TALDs.
# https://forums.eagle.ru/topic/272112-cannot-assign-f-14-to-sead/
group.task = CAS.name
group.task = SEAD.name
self.configure_behavior(
flight,
group,