trace off

This commit is contained in:
FlightControl
2016-03-24 12:21:01 +01:00
parent 2e045f2cea
commit e7846e2978
2 changed files with 6 additions and 6 deletions

View File

@@ -13,18 +13,18 @@ _TraceClass = {
--SPAWN = true, --SPAWN = true,
--STAGE = true, --STAGE = true,
--ZONE = true, --ZONE = true,
GROUP = true, --GROUP = true,
--UNIT = true, --UNIT = true,
CLIENT = true, --CLIENT = true,
--CARGO = true, --CARGO = true,
--CARGO_GROUP = true, --CARGO_GROUP = true,
--CARGO_PACKAGE = true, --CARGO_PACKAGE = true,
--CARGO_SLINGLOAD = true, --CARGO_SLINGLOAD = true,
--CARGO_ZONE = true, --CARGO_ZONE = true,
--CLEANUP = true, --CLEANUP = true,
MENU_SUB_GROUP = true, --MENU_SUB_GROUP = true,
MENU_COMMAND_GROUP = true, --MENU_COMMAND_GROUP = true,
ESCORT = true, --ESCORT = true,
} }
--- The BASE Class --- The BASE Class

View File

@@ -181,7 +181,7 @@ function ESCORT:_ScanForTargets()
-- EscortTargetLastVelocity } ) -- EscortTargetLastVelocity } )
if EscortTarget.distance then if EscortTarget.distance then
local EscortTargetUnitPositionVec3 = EscortTargetUnit:GetPositionVec3() local EscortTargetUnitPositionVec3 = EscortTargetUnit:GetPositionVec()
local EscortPositionVec3 = self.EscortGroup:GetPositionVec3() local EscortPositionVec3 = self.EscortGroup:GetPositionVec3()
local Distance = routines.utils.get3DDist( EscortTargetUnitPositionVec3, EscortPositionVec3 ) / 1000 local Distance = routines.utils.get3DDist( EscortTargetUnitPositionVec3, EscortPositionVec3 ) / 1000
self:T( { self.EscortGroup:GetName(), EscortTargetUnit:GetName(), Distance, EscortTarget.visible } ) self:T( { self.EscortGroup:GetName(), EscortTargetUnit:GetName(), Distance, EscortTarget.visible } )