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}}}
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: Task Wrappers: mission, ComboTask, ControlledTask, WrappedAction

Tasks: AttackGroup, AttackUnit, Bombing, Strafing, CarpetBombing, AttackMapObject, BombingRunway, orbit, refueling, land, follow, followBigFormation, escort, Embarking, fireAtPoint, hold, FAC_AttackGroup, EmbarkToTransport, DisembarkFromTransport, CargoTransportation, goToWaypoint, groundEscort, RecoveryTanker

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

Commands: script, setCallsign, setFrequency, setFrequencyForUnit, switchWaypoint, stopRoute, switchAction, setInvisible, setImmortal, setUnlimitedFuel, activateBeacon, deactivateBeacon, activateICLS, deactivateICLS, eplrs, start, transmitMessage, stopTransmission, smoke_on_off, ActivateLink4, deactivateLink4, activateACLS, deactivateACLS, LoadingShip

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, Option Radio Usage Contact, Option Radio Usage Engage, Option Radio Usage Kill, AC Engagement Range Restriction, jett tanks if empty, forced attack, Altitude Restriction for AAA Min, restrict targets, Altitude Restriction for AAA Max, Prefer Vertical, Evasion Of ARM, Formation Interval