Airbase and TaskBombingRunway

This commit is contained in:
Frank
2019-12-02 21:58:32 +01:00
parent 6a6c7a3236
commit 7a53439408
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ AIRBASE.PersianGulf = {
["Lavan_Island_Airport"] = "Lavan Island Airport", ["Lavan_Island_Airport"] = "Lavan Island Airport",
["Liwa_Airbase"] = "Liwa Airbase", ["Liwa_Airbase"] = "Liwa Airbase",
["Qeshm_Island"] = "Qeshm Island", ["Qeshm_Island"] = "Qeshm Island",
["Ras_Al_Khaimah_International_Airport"] = "Ras Al Khaimah International Airport", ["Ras_Al_Khaimah"] = "Ras Al Khaimah",
["Sas_Al_Nakheel_Airport"] = "Sas Al Nakheel Airport", ["Sas_Al_Nakheel_Airport"] = "Sas Al Nakheel Airport",
["Sharjah_Intl"] = "Sharjah Intl", ["Sharjah_Intl"] = "Sharjah Intl",
["Shiraz_International_Airport"] = "Shiraz International Airport", ["Shiraz_International_Airport"] = "Shiraz International Airport",
@@ -1182,6 +1182,10 @@ function CONTROLLABLE:TaskBombingRunway(Airbase, WeaponType, WeaponExpend, Attac
WeaponExpend=WeaponExpend or AI.Task.WeaponExpend.ALL WeaponExpend=WeaponExpend or AI.Task.WeaponExpend.ALL
AttackQty=AttackQty or 1 AttackQty=AttackQty or 1
if Direction then
Direction=math.rad(Direction)
end
local DCSTask local DCSTask
DCSTask = { id = 'BombingRunway', DCSTask = { id = 'BombingRunway',
params = { params = {