mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Fixes for A2G tasking, reduce trace, and put in key trace lines to follow the tasking.
This commit is contained in:
@@ -600,9 +600,16 @@ function POSITIONABLE:MessageToGroup( Message, Duration, MessageGroup, Name )
|
||||
local DCSObject = self:GetDCSObject()
|
||||
if DCSObject then
|
||||
if DCSObject:isExist() then
|
||||
self:GetMessage( Message, Duration, Name ):ToGroup( MessageGroup )
|
||||
if MessageGroup:IsAlive() then
|
||||
self:GetMessage( Message, Duration, Name ):ToGroup( MessageGroup )
|
||||
else
|
||||
BASE:E( { "Message not sent to Group; Group is not alive...", Message = Message, MessageGroup = MessageGroup } )
|
||||
end
|
||||
else
|
||||
BASE:E( { "Message not sent to Group; Positionable is not alive ...", Message = Message, Positionable = self, MessageGroup = MessageGroup } )
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user