Difference between revisions of "DCS command activateLink4"

From DCS World Wiki - Hoggitworld.com
(Created page with " {{Template:DCS_tasking |tName= activateLink4 |vNum= 2.7.12 |type= Command |for= Ships |avail= All tasks types |desc= Activates the link4 datalin...")
 
Line 20: Line 20:
 
   id = 'ActivateLink4',  
 
   id = 'ActivateLink4',  
 
   params = {
 
   params = {
     unitId = number,  
+
     unitId = number,
 +
    frequency = number,  
 
     name = string,  
 
     name = string,  
 
   }  
 
   }  
Line 28: Line 29:
 
      
 
      
 
unitId: Any valid unitId corresponding to a ship.  Ship must have link 4 beacon capability.  
 
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''':
 
'''Optional Parameters''':
Line 41: Line 44:
 
               {
 
               {
 
               ["unitId"] = 2,
 
               ["unitId"] = 2,
 +
              ["frequency"] = 336000000,
 
               },  
 
               },  
 
         })
 
         })

Revision as of 22:04, 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, Evasion Of ARM, Formation Interval