Added AI options to improve behavior of air units

This commit is contained in:
Ambroise Garel 2025-07-25 19:38:09 +02:00
parent 5d556ceb83
commit 74cce4b048

View File

@ -360,6 +360,11 @@ do
local groupCallsign = nil
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.taskAwacs then setAircraftTaskAwacs(groupTable) end
if options.taskCAP then setAircraftTaskCAP(groupTable) end
if options.taskFollow then