Difference between revisions of "DCS task carpetBombing"
From DCS World Wiki - Hoggitworld.com
Line 28: | Line 28: | ||
expend = enum AI.Task.WeaponExpend, | expend = enum AI.Task.WeaponExpend, | ||
attackQty = number, | attackQty = number, | ||
+ | attackQtyLimit = boolean, | ||
groupAttack = boolean, | groupAttack = boolean, | ||
altitude = number | altitude = number | ||
Line 49: | Line 50: | ||
expend: Enum that defines how much munitions the AI will expend per attack run. | expend: Enum that defines how much munitions the AI will expend per attack run. | ||
+ | |||
+ | attackQtyLimit: boolean that defines whether or not the attackQty value will be used. | ||
groupAttack: If true then each aircraft in the group will attack the point. | groupAttack: If true then each aircraft in the group will attack the point. | ||
Line 67: | Line 70: | ||
target.weaponType = 16 | target.weaponType = 16 | ||
target.attackQty = 1 | target.attackQty = 1 | ||
+ | target.attackQtyLimit = true | ||
local engage = {id = 'CarpetBombing', params = target} | local engage = {id = 'CarpetBombing', params = target} | ||
Group.getByName('droneyTheDrone'):getController():setTask(engage) | Group.getByName('droneyTheDrone'):getController():setTask(engage) |
Latest revision as of 23:38, 5 November 2021