Banner Image

Module AI.AI_A2G_BAI

AI -- Models the process of air to ground BAI engagement for airplanes and helicopters.

This is a class used in the AI_A2G_Dispatcher.


Author: FlightControl


Global(s)

Global AI_A2G_BAI

Implements the core functions to intercept intruders.

#AI_A2G_BAI AI_A2G_BAI

Implements the core functions to intercept intruders.

Use the Engage trigger to intercept intruders.


Type(s)

Field(s)

Function(s)

Evaluate the attack and create an AttackUnitTask list.

Defined in:

AI_A2G_BAI

Parameters:

Core.Set#SET_UNIT AttackSetUnit

The set of units to attack.

Wrappper.Group#GROUP DefenderGroup

The group of defenders.

#number EngageAltitude

The altitude to engage the targets.

Return value:

self

Creates a new AI_A2G_BAI object

Defined in:

AI_A2G_BAI

Parameters:

DCS#Speed EngageMinSpeed

The minimum speed of the Wrapper.Group in km/h when engaging a target.

DCS#Speed EngageMaxSpeed

The maximum speed of the Wrapper.Group in km/h when engaging a target.

DCS#Altitude EngageFloorAltitude

The lowest altitude in meters where to execute the engagement.

DCS#Altitude EngageCeilingAltitude

The highest altitude in meters where to execute the engagement.

Core.Zone#ZONE_BASE PatrolZone

The Zone where the patrol needs to be executed.

DCS#Altitude PatrolFloorAltitude

The lowest altitude in meters where to execute the patrol.

DCS#Altitude PatrolCeilingAltitude

The highest altitude in meters where to execute the patrol.

DCS#Speed PatrolMinSpeed

The minimum speed of the Wrapper.Group in km/h.

DCS#Speed PatrolMaxSpeed

The maximum speed of the Wrapper.Group in km/h.

DCS#AltitudeType PatrolAltType

The altitude type ("RADIO"=="AGL", "BARO"=="ASL"). Defaults to RADIO

Return value:

Creates a new AI_A2G_BAI object

Defined in:

AI_A2G_BAI

Parameters:

DCS#Speed EngageMinSpeed

The minimum speed of the Wrapper.Group in km/h when engaging a target.

DCS#Speed EngageMaxSpeed

The maximum speed of the Wrapper.Group in km/h when engaging a target.

DCS#Altitude EngageFloorAltitude

The lowest altitude in meters where to execute the engagement.

DCS#Altitude EngageCeilingAltitude

The highest altitude in meters where to execute the engagement.

DCS#AltitudeType EngageAltType

The altitude type ("RADIO"=="AGL", "BARO"=="ASL"). Defaults to "RADIO".

Core.Zone#ZONE_BASE PatrolZone

The Zone where the patrol needs to be executed.

DCS#Altitude PatrolFloorAltitude

The lowest altitude in meters where to execute the patrol.

DCS#Altitude PatrolCeilingAltitude

The highest altitude in meters where to execute the patrol.

DCS#Speed PatrolMinSpeed

The minimum speed of the Wrapper.Group in km/h.

DCS#Speed PatrolMaxSpeed

The maximum speed of the Wrapper.Group in km/h.

DCS#AltitudeType PatrolAltType

The altitude type ("RADIO"=="AGL", "BARO"=="ASL"). Defaults to RADIO

Return value: