Difference between revisions of "DCS task carpetBombing"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
(One intermediate revision by the same user not shown) | |||
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 65: | Line 68: | ||
target.point = {x = trigger.misc.getZone('bridge').point.x, y = trigger.misc.getZone('bridge').point.z} | target.point = {x = trigger.misc.getZone('bridge').point.x, y = trigger.misc.getZone('bridge').point.z} | ||
target.expend = "Two" | target.expend = "Two" | ||
− | target.weaponType = | + | 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