DCS task fac

From DCS World Wiki - Hoggitworld.com


Task: FAC Added with: 1.2.4
Hierarchy: Scripting Root > Tasks > Enroute task > FAC
Tasking Type: Enroute task
For: Airplanes, Helicopters, Ground Vehicles
Available Under: AFAC, Ground Nothing
Description: Assigns the controlled group to act as a Forward Air Controller or JTAC. Any detected targets will be assigned as targets to the player via the JTAC radio menu. Target designation is set to auto and is dependent on the circumstances.
Format: This task needs to be in the following format.
FAC = { 
  id = 'FAC', 
  params = { 
    frequency = number
    modulation = enum radio.modulation
    callname = number callsignId
    number = number callsignNum 
    priority = number   
  } 
}

Required parameters:


Optional Parameters:

priority: The priority of the tasking, the lower the number the more important the objective is. Helps define the order in which AI will execute tasking. By default the value is 0.

Enumerators: {{{enum}}}
Examples:
Notes: See article Mission Editor: AI Tasking for more information on how AI tasking is handled within DCS.

Assignment of callsign and radio is relatively new, need to investigate if those values are optional and if values are inherited from previous FAC tasks. ~ Grimes

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