DCS option restrictTargets

From DCS World Wiki - Hoggitworld.com


Task: Restrict targets Added with: 2.7.8
Hierarchy: Scripting Root > Tasks > Option > Restrict targets
Tasking Type: Option
For: Ground Vehicles
Available Under: Everything
Description: Restricts ground groups to engage only targets of a specified type. Useful for disabling the BMP-2 "Air defense system" logic so it only engages ground targets.

Behaviors:

Value is a number for altitude ASL in meters.

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

Option Identifier:

Unknown. Not currently in table. 

Option Values:

0 : Engage Any Target (Default)
1 : Engage Air Units Only
2 : Engage Ground Units Only
Enumerators: 28
Examples:
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