DCS option reactionToThreat

From DCS World Wiki - Hoggitworld.com


Task: Reaction To Threat Added with: 1.2.4
Hierarchy: Scripting Root > Tasks > Option > Reaction To Threat
Tasking Type: Option
For: Airplanes, Helicopters
Available Under: Everything
Description: Defines the allowable action for an airborne group to take in response to a threat. This option can have an effect on other tasking.

Behaviors:

No Reaction: No defensive actions will take place to counter threats

Passive Defense: AI will use jammers and other countermeasures in an attempt to defeat the threat. AI will not attempt a maneuver to defeat a threat.

Evade Fire: AI will react by performing defensive maneuvers against incoming threats, AI will also use passive defense.

Bypass and Escape: AI will attempt to avoid enemy threat zones all together. This includes attempting to fly above or around threats.

Allow abort missions: If a threat is deemed severe enough the AI will abort its mission and return to base.

Horizontal AAA Evade Fire: When shot at by AAA units the aircraft will perform several S turns to evade the fire without changing altitude.

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

Option Identifier:

AI.Option.Air.id.REACTION_ON_THREAT

Option Values:

AI.Option.Air.val.REACTION_ON_THREAT
Enumerators: REACTION_ON_THREAT = 1

AI.Option.Air.val.REACTION_ON_THREAT

NO_REACTION          = 0
PASSIVE_DEFENCE      = 1
EVADE_FIRE           = 2
BYPASS_AND_ESCAPE    = 3
ALLOW_ABORT_MISSION  = 4
AAA_EVADE_FIRE       = 5 -- Note: Does not actually exist in the enum table
Examples:
Notes: See article Mission Editor: AI Tasking for more information on how AI tasking is handled within DCS.

"Horizontal AAA Fire Evade" is an option in the editor but it was not added to the Reaction on threat enum table. However it is still a valid option.

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