Difference between revisions of "DCS command activateLink4"

From DCS World Wiki - Hoggitworld.com
 
Line 53: Line 53:
 
}}
 
}}
 
[[Category:Naval Task|activateLink4]]
 
[[Category:Naval Task|activateLink4]]
[[Category:Game Patch 2.7.1|activateLink4]]
+
[[Category:Game Patch 2.7.12|activateLink4]]

Latest revision as of 22:06, 28 April 2022


Task: activateLink4 Added with: 2.7.12
Hierarchy: Scripting Root > Tasks > Command > activateLink4
Tasking Type: Command
For: Ships
Available Under: All tasks types
Description: Activates the link4 datalink for aircraft carriers.
Format: This task needs to be in the following format.
ActivateICLS= { 
  id = 'ActivateLink4', 
  params = {
    unitId = number,
    frequency = number, 
    name = string, 
  } 
}

Required parameters:

unitId: Any valid unitId corresponding to a ship. Ship must have link 4 beacon capability.

frequency: Number in hz that the datalink will operate on.

Optional Parameters:

name: Used to name the Link4 beacon, has no discernable use.

Enumerators:
Examples: Sets the Link4 for unitId 2 within the group "CV59TF"
   local gp = Group.getByName("CV59TF"):getController()
   gp:setCommand({id = "activateLink4",
         ["params"] = 
             {
              ["unitId"] = 2,
              ["frequency"] = 336000000,
             }, 
        })
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