mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Set ECM as first task for SEAD ingress
This commit is contained in:
parent
96cb39c334
commit
6517dc0de8
@ -26,6 +26,9 @@ class SeadIngressBuilder(PydcsWaypointBuilder):
|
||||
)
|
||||
return
|
||||
|
||||
# Preemptively use ECM to better avoid getting swatted.
|
||||
ecm_option = OptECMUsing(value=OptECMUsing.Values.UseIfDetectedLockByRadar)
|
||||
waypoint.tasks.append(ecm_option)
|
||||
for group in target.groups:
|
||||
miz_group = self.mission.find_group(group.group_name)
|
||||
if miz_group is None:
|
||||
@ -56,6 +59,3 @@ class SeadIngressBuilder(PydcsWaypointBuilder):
|
||||
engage_task.params["expend"] = Expend.All.value
|
||||
waypoint.tasks.append(engage_task)
|
||||
|
||||
# Preemptively use ECM to better avoid getting swatted.
|
||||
ecm_option = OptECMUsing(value=OptECMUsing.Values.UseIfDetectedLockByRadar)
|
||||
waypoint.tasks.append(ecm_option)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user