mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-21 02:31:39 +00:00
#AWACS - added function to set own BullsEye coordinate if necessary
This commit is contained in:
@@ -509,7 +509,7 @@ do
|
|||||||
-- @field #AWACS
|
-- @field #AWACS
|
||||||
AWACS = {
|
AWACS = {
|
||||||
ClassName = "AWACS", -- #string
|
ClassName = "AWACS", -- #string
|
||||||
version = "0.2.72", -- #string
|
version = "0.2.73", -- #string
|
||||||
lid = "", -- #string
|
lid = "", -- #string
|
||||||
coalition = coalition.side.BLUE, -- #number
|
coalition = coalition.side.BLUE, -- #number
|
||||||
coalitiontxt = "blue", -- #string
|
coalitiontxt = "blue", -- #string
|
||||||
@@ -1596,6 +1596,16 @@ function AWACS:SetLocale(Locale)
|
|||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- [User] Set own coordinate for BullsEye.
|
||||||
|
-- @param #AWACS self
|
||||||
|
-- @param Core.Point#COORDINATE
|
||||||
|
-- @return #AWACS self
|
||||||
|
function AWACS:SetBullsCoordinate(Coordinate)
|
||||||
|
self:T(self.lid.."SetBullsCoordinate")
|
||||||
|
self.AOCoordinate = Coordinate
|
||||||
|
return self
|
||||||
|
end
|
||||||
|
|
||||||
--- [User] Set the max mission range flights can be away from their home base.
|
--- [User] Set the max mission range flights can be away from their home base.
|
||||||
-- @param #AWACS self
|
-- @param #AWACS self
|
||||||
-- @param #number NM Distance in nautical miles
|
-- @param #number NM Distance in nautical miles
|
||||||
|
|||||||
Reference in New Issue
Block a user