mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#AWACS - Escort vector catch for noobs not reading the description
This commit is contained in:
parent
fa0ce0927b
commit
c3ccecdd4a
@ -509,7 +509,7 @@ do
|
|||||||
-- @field #AWACS
|
-- @field #AWACS
|
||||||
AWACS = {
|
AWACS = {
|
||||||
ClassName = "AWACS", -- #string
|
ClassName = "AWACS", -- #string
|
||||||
version = "0.2.70", -- #string
|
version = "0.2.71", -- #string
|
||||||
lid = "", -- #string
|
lid = "", -- #string
|
||||||
coalition = coalition.side.BLUE, -- #number
|
coalition = coalition.side.BLUE, -- #number
|
||||||
coalitiontxt = "blue", -- #string
|
coalitiontxt = "blue", -- #string
|
||||||
@ -2244,9 +2244,9 @@ function AWACS:_StartEscorts(Shiftchange)
|
|||||||
local OffsetY = 500
|
local OffsetY = 500
|
||||||
local OffsetZ = 500
|
local OffsetZ = 500
|
||||||
if self.OffsetVec then
|
if self.OffsetVec then
|
||||||
OffsetX = self.OffsetVec.x
|
OffsetX = self.OffsetVec.x or 500
|
||||||
OffsetY = self.OffsetVec.y
|
OffsetY = self.OffsetVec.y or 500
|
||||||
OffsetZ = self.OffsetVec.z
|
OffsetZ = self.OffsetVec.z or 500
|
||||||
end
|
end
|
||||||
|
|
||||||
for i=1,self.EscortNumber do
|
for i=1,self.EscortNumber do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user