mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Added "prohibitJettison" option for aircraft
This commit is contained in:
parent
1f3ae750e5
commit
0165dd807c
@ -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
|
||||
|
||||
@ -77,6 +77,7 @@ do
|
||||
callsign = wingmanCallsign,
|
||||
callsignOffset = 1,
|
||||
payload = getWingmanPayloadForMission(),
|
||||
prohibitJettison = true,
|
||||
silenced = true,
|
||||
skill = "Excellent",
|
||||
taskFollow = DCSEx.dcs.getObjectIDAsNumber(player:getGroup()),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user