mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2026-08-25 02:41:51 +00:00
Added "prohibitJettison" option for aircraft
This commit is contained in:
@@ -361,9 +361,9 @@ do
|
|||||||
|
|
||||||
if isAirUnit then
|
if isAirUnit then
|
||||||
setOption(groupTable, AI.Option.Air.id.FORCED_ATTACK, true)
|
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_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.taskAwacs then setAircraftTaskAwacs(groupTable) end
|
||||||
if options.taskCAP then setAircraftTaskCAP(groupTable) end
|
if options.taskCAP then setAircraftTaskCAP(groupTable) end
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ do
|
|||||||
callsign = wingmanCallsign,
|
callsign = wingmanCallsign,
|
||||||
callsignOffset = 1,
|
callsignOffset = 1,
|
||||||
payload = getWingmanPayloadForMission(),
|
payload = getWingmanPayloadForMission(),
|
||||||
|
prohibitJettison = true,
|
||||||
silenced = true,
|
silenced = true,
|
||||||
skill = "Excellent",
|
skill = "Excellent",
|
||||||
taskFollow = DCSEx.dcs.getObjectIDAsNumber(player:getGroup()),
|
taskFollow = DCSEx.dcs.getObjectIDAsNumber(player:getGroup()),
|
||||||
|
|||||||
Reference in New Issue
Block a user