Added "prohibitJettison" option for aircraft

This commit is contained in:
Ambroise Garel 2025-07-25 21:08:09 +02:00
parent 1f3ae750e5
commit 0165dd807c
2 changed files with 3 additions and 2 deletions

View File

@ -361,9 +361,9 @@ do
if isAirUnit then
setOption(groupTable, AI.Option.Air.id.FORCED_ATTACK, true)
setOption(groupTable, AI.Option.Air.id.PROHIBIT_JETT, true)
setOption(groupTable, AI.Option.Air.id.RTB_ON_BINGO, false)
-- setOption(groupTable, AI.Option.Air.id.RTB_ON_OUT_OF_AMMO, {})
if options.prohibitJettison then setOption(groupTable, AI.Option.Air.id.PROHIBIT_JETT, true) end
if options.taskAwacs then setAircraftTaskAwacs(groupTable) end
if options.taskCAP then setAircraftTaskCAP(groupTable) end

View File

@ -77,6 +77,7 @@ do
callsign = wingmanCallsign,
callsignOffset = 1,
payload = getWingmanPayloadForMission(),
prohibitJettison = true,
silenced = true,
skill = "Excellent",
taskFollow = DCSEx.dcs.getObjectIDAsNumber(player:getGroup()),