DCS command setFrequency

From DCS World Wiki - Hoggitworld.com

Task: SetFrequency Added with: 1.2.4
Hierarchy: Scripting Root > Tasks > Command > SetFrequency
Tasking Type: Command
For: Airplanes, Helicopters, Ground Vehicles
Available Under: All tasks types
Description: Changes the broadcasting frequency the AI will be using.
Format: This task needs to be in the following format.
SetFrequency = { 
  id = 'SetFrequency', 
  params = { 
    frequency = number, 
    modulation = enum radio.modulation, 

Required parameters:

frequency: Frequency value in Hz.

modulation: Enum of radio modulation. AM or FM (0 or 1)

Optional Parameters:

Enumerators: Template:DCS enum radio modulation
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, groundEscort

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, smoke_on_off

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