Change SEAD task to Search and Engage for ARM weapon

SEAD flights will have the Search and Engage Group Task instead of the current AttackGroup task when the flight has ARM weapons in the Loadout. This resolves an issue with AI not able to attack a SAM when skynet is used. This is due to the RADAR not emitting and the AI therefore just diving into the SAM.
Non-ARM Loadouts will still use the AttackGroup task. This ensures that for example the ADM-141 TALD used by the F-14s will work correctly
This commit is contained in:
RndName
2022-03-29 14:58:20 +02:00
parent 23ba3215d4
commit 1bb7e1bf47
2 changed files with 23 additions and 8 deletions

View File

@@ -94,6 +94,7 @@ class Weapon:
@unique
class WeaponType(Enum):
ARM = "ARM"
LGB = "LGB"
TGP = "TGP"
UNKNOWN = "unknown"