DCS task embarking

From DCS World Wiki - Hoggitworld.com


Task: Embarking Added with: 1.2.4
Hierarchy: Scripting Root > Tasks > Main task > Embarking
Tasking Type: Main task
For: Helicopters
Available Under: Transport
Description: Used in conjunction with the EmbarkToTransport task for a ground infantry group, the controlled helicopter flight will land at the specified coordinates, pick up boarding troops and transport them to that groups DisembarkFromTransport task.
Format: This task needs to be in the following format.
Embarking = {
 id = "Embarking",
 params = {
   x = Vec2.x,
   y = Vec2.y,
   duration = time,
   groupsForEmbarking = array of groups,
   distributionFlag = boolean,
   distribution = array of unitIds
 }

Required parameters: point

groupsForEmbarking: table of groupIds for the infantry groups set to board the helicopter flight.

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.

duration: Defines the maximum time the helicopter flight will wait for troops to begin boarding process

distributionFlag: Defines whether or not specific groups need to get into a specific helicopter.

distribution: Table identifying the groups needing to board specific helicopters.

Enumerators: N/A
Examples:
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