DCS task bombingRunway

From DCS World Wiki - Hoggitworld.com

Task: BombingRunway Added with: 1.2.4
Hierarchy: Scripting Root > Tasks > Main task > BombingRunway
Tasking Type: Main task
For: Airplanes, Helicopters
Available Under: {{{avail}}}
Description: Assigns the AI a task to bomb an airbases runway. By default the AI will line up along the length of the runway and drop its payload.
Format: This task needs to be in the following format.
Bombing = { 
 id = 'BombingRunway', 
 params = { 
   runwayId = AirdromeId, 
   weaponType = number, 
   expend = enum AI.Task.WeaponExpend,
   attackQty = number, 
   direction = Azimuth, 
   groupAttack = boolean, 

Required parameters: runwayId: index of the airbase for which is to be bombed.

Optional Parameters: All other variables are optional. Some variables require other entries, for example the boolean values require the corresponding value if the boolean is true.

expend: Enum that defines how much munitions the AI will expend per attack run.

attackQty: Number of times the group will attack if the target.

direction: If provided the AI will attack from this azimuth and ignore bombing along the length of the runway.

groupAttack: If true then each aircraft in the group will attack the point.

Enumerators: weaponType is a number associated with a correspond weapons flags


"QUARTER" = "Quarter"
"TWO"     = "Two"
"ONE"     = "One"
"FOUR"    = "Four"
"HALF"    = "Half"
"ALL"     = "All"
Notes: See article Mission Editor: AI Tasking for more information on how AI tasking is handled within DCS.
Task List: Main Tasks: mission, AttackGroup, AttackUnit, Bombing, CarpetBombing, AttackMapObject, BombingRunway, orbit, refueling, land, follow, followBigFormation, escort, Embarking, fireAtPoint, hold, FAC_AttackGroup, EmbarkToTransport, DisembarkFromTransport, CargoTransportation, goToWaypoint

En-route Tasks: engageTargets, engageTargetsInZone, engageGroup, engageUnit, awacs, tanker, ewr, FAC_engageGroup, FAC

Commands: script, setCallsign, setFrequency, switchWaypoint, stopRoute, switchAction, setInvisible, setImmortal, activateBeacon, deactivateBeacon, eplrs, start, transmitMessage, stopTransmission

Options: ROE, Reaction To Threat, Radar Using, Flare Using, Formation, RTB On Bingo, silence, Disperse on Attack, Alarm State, RTB on Out of Ammo, ECM Using, Prohibit AA, Prohibit Jettison, Prohibit Afterburner, Prohibit AG, Missile Attack Range, Prohibit WP Pass Report, Engage Air Weapons