DCS task cargoTransportation

From DCS World Wiki - Hoggitworld.com


Task: CargoTransportation Added with: 1.5.3
Hierarchy: Scripting Root > Tasks > Main Task > CargoTransportation
Tasking Type: Main Task
For: Helicopters
Available Under: Helicopters
Description: A function which allows a Transport Helicopter to have access to the "All Cargo" radio item. This in turn allows you to select one of the Cargo containers you have placed in the map. A red smoke marker will be spawned when you have selected one and you can then enable the cargo lifting cues to maneuver you into the correct position for attaching said cargo.
Format: This task needs to be in the following format.
CargoTransportation = {
 id = "CargoTransportation",
 params = {
  groupId = number StaticObject:getID()),
  zoneId = number The ID of a trigger zone
 }

Optional Parameters: Both parameters are optional and does not seem to restrict the user in his choice as one would expect. Initial testing also found no response from AI.

Enumerators: N/A
Examples:
Notes: See article Mission Editor: AI Tasking for more information on how AI tasking is handled within DCS.

There is a discrepancy between StaticObject.Category list and the category returned by getCategory() for objects of the type "Cargo" placed in the editor, the enumeration

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