mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Airbase Police
This commit is contained in:
parent
d8adfd01d7
commit
32a179d0b6
@ -43,7 +43,7 @@ end
|
||||
--- @param #AIRBASEPOLICE self
|
||||
function AIRBASEPOLICE:_AirbaseMonitor()
|
||||
|
||||
for PolygonTaxiID, PolygonTaxi in pairs( self.PolygonsTaxi ) do
|
||||
for PolygonTaxiID, PolygonTaxi in pairs( self.PolygonsTaxiways ) do
|
||||
self.SetClient:ForEachClientInZone( PolygonTaxi,
|
||||
|
||||
--- @param Client#CLIENT Client
|
||||
@ -51,7 +51,6 @@ function AIRBASEPOLICE:_AirbaseMonitor()
|
||||
if Client:IsAlive() then
|
||||
local VelocityVec3 = Client:GetVelocity()
|
||||
local Velocity = math.abs(VelocityVec3.x) + math.abs(VelocityVec3.y) + math.abs(VelocityVec3.z)
|
||||
Client:Message( "Velocity:" .. Velocity, 1, "Test", "Police" )
|
||||
local IsAboveRunway = Client:IsAboveRunway()
|
||||
local IsOnGround = Client:InAir() == false
|
||||
self:T( IsAboveRunway, IsOnGround )
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
|
||||
env.info( 'Moose Generation Timestamp: 20160611_2126' )
|
||||
env.info( 'Moose Generation Timestamp: 20160611_2131' )
|
||||
local base = _G
|
||||
|
||||
Include = {}
|
||||
@ -20097,7 +20097,7 @@ end
|
||||
--- @param #AIRBASEPOLICE self
|
||||
function AIRBASEPOLICE:_AirbaseMonitor()
|
||||
|
||||
for PolygonTaxiID, PolygonTaxi in pairs( self.PolygonsTaxi ) do
|
||||
for PolygonTaxiID, PolygonTaxi in pairs( self.PolygonsTaxiways ) do
|
||||
self.SetClient:ForEachClientInZone( PolygonTaxi,
|
||||
|
||||
--- @param Client#CLIENT Client
|
||||
@ -20105,7 +20105,6 @@ function AIRBASEPOLICE:_AirbaseMonitor()
|
||||
if Client:IsAlive() then
|
||||
local VelocityVec3 = Client:GetVelocity()
|
||||
local Velocity = math.abs(VelocityVec3.x) + math.abs(VelocityVec3.y) + math.abs(VelocityVec3.z)
|
||||
Client:Message( "Velocity:" .. Velocity, 1, "Test", "Police" )
|
||||
local IsAboveRunway = Client:IsAboveRunway()
|
||||
local IsOnGround = Client:InAir() == false
|
||||
self:T( IsAboveRunway, IsOnGround )
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
|
||||
env.info( 'Moose Generation Timestamp: 20160611_2126' )
|
||||
env.info( 'Moose Generation Timestamp: 20160611_2131' )
|
||||
local base = _G
|
||||
|
||||
Include = {}
|
||||
@ -20097,7 +20097,7 @@ end
|
||||
--- @param #AIRBASEPOLICE self
|
||||
function AIRBASEPOLICE:_AirbaseMonitor()
|
||||
|
||||
for PolygonTaxiID, PolygonTaxi in pairs( self.PolygonsTaxi ) do
|
||||
for PolygonTaxiID, PolygonTaxi in pairs( self.PolygonsTaxiways ) do
|
||||
self.SetClient:ForEachClientInZone( PolygonTaxi,
|
||||
|
||||
--- @param Client#CLIENT Client
|
||||
@ -20105,7 +20105,6 @@ function AIRBASEPOLICE:_AirbaseMonitor()
|
||||
if Client:IsAlive() then
|
||||
local VelocityVec3 = Client:GetVelocity()
|
||||
local Velocity = math.abs(VelocityVec3.x) + math.abs(VelocityVec3.y) + math.abs(VelocityVec3.z)
|
||||
Client:Message( "Velocity:" .. Velocity, 1, "Test", "Police" )
|
||||
local IsAboveRunway = Client:IsAboveRunway()
|
||||
local IsOnGround = Client:InAir() == false
|
||||
self:T( IsAboveRunway, IsOnGround )
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user