Airbase Police

This commit is contained in:
FlightControl 2016-06-11 21:31:44 +02:00
parent d8adfd01d7
commit 32a179d0b6
20 changed files with 5 additions and 8 deletions

View File

@ -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 )

View File

@ -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 )

View File

@ -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 )