Difference between revisions of "DCS task escort"
From DCS World Wiki - Hoggitworld.com
Line 1: | Line 1: | ||
{{Template:DCS_tasking | {{Template:DCS_tasking | ||
− | |tName= Escort | + | |tName= Ground Escort |
− | |vNum= | + | |vNum= 2.7.7 |
|type= Main task | |type= Main task | ||
− | |for= | + | |for= Helicopters |
− | |avail= Escort, | + | |avail= CAS, Escort, Ground Attack |
− | |desc= | + | |desc= The assigned helicopter group will orbit above the assigned ground group at a low altitude. Any valid detected targets will be engaged. If multiple helicopters are in the group then the aircraft will be distributed throughout the orbit. The orbit pattern is roughly just flying back and forth. |
|form= This task needs to be in the following format. | |form= This task needs to be in the following format. | ||
Escort = { | Escort = { | ||
− | id = ' | + | id = 'GroundEscort', |
params = { | params = { | ||
groupId = Group.ID, | groupId = Group.ID, | ||
− | + | engagementDistMax, Distance, | |
lastWptIndexFlag = boolean, | lastWptIndexFlag = boolean, | ||
− | lastWptIndex = number | + | lastWptIndex = number, |
− | + | targetTypes = array of AttributeName, | |
− | targetTypes = array of AttributeName | + | lastWptIndexFlagChangedManually = boolean, |
} | } | ||
} | } | ||
Line 31: | Line 31: | ||
groupId: unique groupId. | groupId: unique groupId. | ||
− | + | engagementDistMax: With his task it does not appear to actually define the range AI are allowed to attack at, rather it defines the size length of the orbit. The helicopters will fly up to this set distance before returning to the escorted group. | |
− | |||
− | |||
targetTypes: Is an array of object attributes which the AI will engage | targetTypes: Is an array of object attributes which the AI will engage | ||
− | |||
'''Optional Parameters''': | '''Optional Parameters''': | ||
Line 44: | Line 41: | ||
lastWptIndex : '''(Default: -1)''' Identifies the waypoint at which the following group will stop its task. Must be set if lastWPIndexFlag is not changed to false. Otherwise the AI will immediately abandon the task. | lastWptIndex : '''(Default: -1)''' Identifies the waypoint at which the following group will stop its task. Must be set if lastWPIndexFlag is not changed to false. Otherwise the AI will immediately abandon the task. | ||
+ | |||
+ | lastWptIndexFlagChangedManually : I have no idea what this is, but the value in the task with the mission editor is set to true, so it might be required. | ||
|enum= N/A | |enum= N/A | ||
Line 52: | Line 51: | ||
}} | }} | ||
− | + | ||
− | [[Category:Helicopter Task|Escort]] | + | [[Category:Helicopter Task|Ground Escort]] |
Revision as of 00:46, 21 October 2021