DCS option alarmState

From DCS World Wiki - Hoggitworld.com


Task: Alarm State Added with: 1.2.4
Hierarchy: Scripting Root > Tasks > Option > Alarm State
Tasking Type: Option
For: Ground Vehicles, Ships
Available Under: Everything
Description: Alarm state defines whether or not a units are "combat ready". What this means practically is that it can force sensors on or off for ground vehicles and ships. For some some vehicles, notably mobile sams, this option dictates whether a radar is stowed for travel. Some vehicles are unable to move or can move at a reduced state when the group is "combat ready".

Note that this option governs all sensors including visual contact.

This setting will not effect all units animations, especially for radars. Some radars will visually continue to rotate, but they are in fact disabled.

Behaviors:

Auto: AI will automatically switch alarm states based on the presence of threats. The AI kind of cheats in this regard.

Green: Group is not combat ready. Sensors are stowed if possible.

Red: Group is combat ready and actively searching for targets.

Format: All options have an option ID and Value. For more information see the article on the AI enumerator.

Option Identifier:

AI.Option.Ground.id.ALARM_STATE

Option Values:

AI.Option.Ground.val.ALARM_STATE
Enumerators: ALARM_STATE = 9

AI.Option.Ground.val.ALARM_STATE

AUTO   = 0
GREEN  = 1
RED    = 2
Examples:
Notes: Fun Fact of the day: The IADScript uses this option to toggle sam sites on and off!

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