DCS task RecoveryTanker

From DCS World Wiki - Hoggitworld.com


Task: RecoveryTanker Added with: 2.8
Hierarchy: Scripting Root > Tasks > Perform Task > RecoveryTanker
Tasking Type: Perform Task
For: Airplanes
Available Under: Tanker
Description: Assigns the aircraft to follow a ship group and perform a racetrack orbit along the current heading of the fleet at the set altitude and speed.
Format: This task needs to be in the following format.
RecoveryTanker= { 
   id = "RecoveryTanker",
   params = {
       groupId = number,
       speed = number, 
       altitude = number, 
       lastWptIndexFlag = boolean, 
       lastWptIndex = number
   }
}

Required parameters:

groupId: The group Id of the naval group

speed: Speed of the tanker in meters per second

altitude: Altitude the tanker orbits at in meters

Optional Parameters:

lastWptIndex: Waypoint of naval group that when reached the recovery tanker will end the task.

lastWptIndexFlag: required if lastWptIndex is to be used.

Enumerators: N/A
Examples:
Notes: See article Mission Editor: AI Tasking for more information on how AI tasking is handled within DCS.
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