mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
ARTY v1.1.7 & AIRBASE
- Improved ARTY._PassingWaypoint function. - Corrected AIRBASE.Ras_Al_Khaimah
This commit is contained in:
parent
740ee74f61
commit
6208c79d1f
@ -693,7 +693,7 @@ ARTY.db={
|
|||||||
|
|
||||||
--- Arty script version.
|
--- Arty script version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
ARTY.version="1.1.6"
|
ARTY.version="1.1.7"
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -3848,26 +3848,23 @@ end
|
|||||||
-- @param #boolean final True if it is the final waypoint.
|
-- @param #boolean final True if it is the final waypoint.
|
||||||
function ARTY._PassingWaypoint(group, arty, i, final)
|
function ARTY._PassingWaypoint(group, arty, i, final)
|
||||||
|
|
||||||
-- Debug message.
|
if group and group:IsAlive() then
|
||||||
local text=string.format("%s, passing waypoint %d.", group:GetName(), i)
|
|
||||||
if final then
|
local groupname=tostring(group:GetName())
|
||||||
text=string.format("%s, arrived at destination.", group:GetName())
|
|
||||||
end
|
|
||||||
arty:T(self.lid..text)
|
|
||||||
|
|
||||||
--[[
|
-- Debug message.
|
||||||
if final then
|
local text=string.format("%s, passing waypoint %d.", groupname, i)
|
||||||
MESSAGE:New(text, 10):ToCoalitionIf(group:GetCoalition(), arty.Debug or arty.report)
|
if final then
|
||||||
else
|
text=string.format("%s, arrived at destination.", groupname)
|
||||||
MESSAGE:New(text, 10):ToAllIf(arty.Debug)
|
end
|
||||||
|
arty:T(arty.lid..text)
|
||||||
|
|
||||||
|
-- Arrived event.
|
||||||
|
if final and arty.groupname==groupname then
|
||||||
|
arty:Arrived()
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
]]
|
|
||||||
|
|
||||||
-- Arrived event.
|
|
||||||
if final and arty.groupname==group:GetName() then
|
|
||||||
arty:Arrived()
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Relocate to another position, e.g. after an engagement to avoid couter strikes.
|
--- Relocate to another position, e.g. after an engagement to avoid couter strikes.
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user