Controllable log output

Controllable, changed self:E to self:F/T2 since it was spamming the DCS log.
Airboss docs.
Spawn scheduler(self,...) --> scheduler(nil,...)
This commit is contained in:
Frank
2019-01-03 14:09:19 +01:00
parent cec6940aeb
commit 9700776468
3 changed files with 11 additions and 10 deletions

View File

@@ -381,7 +381,7 @@ end
-- @param #number WaitTime Time in seconds, before the task is set.
-- @return Wrapper.Controllable#CONTROLLABLE self
function CONTROLLABLE:SetTask( DCSTask, WaitTime )
self:E( { "SetTask", WaitTime, DCSTask = DCSTask } )
self:F( { "SetTask", WaitTime, DCSTask = DCSTask } )
local DCSControllable = self:GetDCSObject()
@@ -389,7 +389,7 @@ function CONTROLLABLE:SetTask( DCSTask, WaitTime )
local DCSControllableName = self:GetName()
self:E( "Controllable Name = " .. DCSControllableName )
self:T2( "Controllable Name = " .. DCSControllableName )
-- When a controllable SPAWNs, it takes about a second to get the controllable in the simulator. Setting tasks to unspawned controllables provides unexpected results.
-- Therefore we schedule the functions to set the mission and options for the Controllable.