mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
xx
This commit is contained in:
parent
8c5efdbe55
commit
d13781ec32
@ -308,7 +308,7 @@ MANTIS = {
|
||||
adv_state = 0,
|
||||
AWACS_Prefix = "",
|
||||
advAwacs = false,
|
||||
verbose = true,
|
||||
verbose = false,
|
||||
awacsrange = 250000,
|
||||
Shorad = nil,
|
||||
ShoradLink = false,
|
||||
@ -583,7 +583,7 @@ do
|
||||
self.advanced = false
|
||||
self.adv_ratio = 100
|
||||
self.adv_state = 0
|
||||
self.verbose = true
|
||||
self.verbose = false
|
||||
self.Adv_EWR_Group = nil
|
||||
self.AWACS_Prefix = awacs or nil
|
||||
self.awacsrange = 250000 --DONE: 250km, User Function to change
|
||||
|
||||
@ -845,7 +845,7 @@ function AIRWING:NewPatrolPoint(Type, Coordinate, Altitude, Speed, Heading, LegL
|
||||
local patrolpoint={} --#AIRWING.PatrolData
|
||||
patrolpoint.type=Type or "Unknown"
|
||||
patrolpoint.coord=Coordinate or self:GetCoordinate():Translate(UTILS.NMToMeters(math.random(10, 15)), math.random(360))
|
||||
if Coordinate:IsInstanceOf("ZONE_BASE") then
|
||||
if Coordinate and Coordinate:IsInstanceOf("ZONE_BASE") then
|
||||
patrolpoint.IsZonePoint = true
|
||||
patrolpoint.patrolzone = Coordinate
|
||||
patrolpoint.coord = patrolpoint.patrolzone:GetCoordinate()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user