ARTY v0.9.9

ARTY:
Fixed CTD bug. Caused by group:ClearTasks() when no task is assigned (group arrived).
Many other improvements
Cleared up function location.
MESSAGES:
Added optional clear screen parameter.
This commit is contained in:
funkyfranky
2018-06-03 00:58:24 +02:00
parent e9a055219e
commit 0d246d3f49
3 changed files with 956 additions and 896 deletions

View File

@@ -355,9 +355,9 @@ function CONTROLLABLE:SetTask( DCSTask, WaitTime )
local function SetTask( Controller, DCSTask )
if self and self:IsAlive() then
local Controller = self:_GetController()
self:I( "Before SetTask" )
--self:I( "Before SetTask" )
Controller:setTask( DCSTask )
self:I( "After SetTask" )
--self:I( "After SetTask" )
else
BASE:E( { DCSControllableName .. " is not alive anymore.", DCSTask = DCSTask } )
end