Module Escort
Taking the lead of AI escorting your flight.
The ESCORT class allows you to interact with escoring AI on your flight and take the lead.
Global(s)
| ESCORT |
Type ESCORT
Type MENUPARAM
| MENUPARAM.ParamDistance | |
| MENUPARAM.ParamSelf |
Global(s)
Type Escort
Type Distance
Type ESCORT
ESCORT class
Field(s)
- #string ESCORT.ClassName
- #string ESCORT.EscortName
- #number ESCORT.FollowScheduler
-
The id of the _FollowScheduler function.
- ESCORT:New(EscortClient, EscortGroup, EscortName)
-
ESCORT class constructor for an AI group
Parameters
-
Client#CLIENT EscortClient: The client escorted by the EscortGroup. -
Group#GROUP EscortGroup: The group AI escorting the EscortClient. -
#string EscortName: Name of the escort.
Return value
#ESCORT: self
-
- DCSTypes#AI.Option.Air.val.REACTION_ON_THREAT ESCORT.OptionReactionOnThreat
-
Which REACTIONONTHREAT is set to the EscortGroup.
- #boolean ESCORT.ReportTargets
-
If true, nearby targets are reported.
- ESCORT._AttackTarget(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT:_FollowScheduler(FollowDistance)
-
Parameter
-
FollowDistance:
-
- ESCORT._HoldPosition(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._HoldPositionNearBy(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._JoinUpAndFollow(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._OptionROTEvadeFire(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._OptionROTNoReaction(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._OptionROTPassiveDefense(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._OptionROTVertical(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._ROEHoldFire(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._ROEOpenFire(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._ROEReturnFire(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._ROEWeaponFree(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._ReportNearbyTargets(MenuParam)
-
Parameter
-
MenuParam:
-
- ESCORT._ResumeMission(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._ScanTargets30Seconds(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
- ESCORT._ScanTargets60Seconds(MenuParam)
-
Parameter
-
#MENUPARAM MenuParam:
-
Type MENUPARAM
MENUPARAM type