Difference between revisions of "DCS task embarking"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
Line 25: Line 25:
 
     distributionFlag = boolean,
 
     distributionFlag = boolean,
 
     distribution = array of unitIds
 
     distribution = array of unitIds
 +
    }
 
   }
 
   }
 
 
'''Required parameters''':  
 
'''Required parameters''':  
 
point
 
point

Revision as of 05:21, 2 February 2022


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: 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