@jtff/miztemplate-lib 3.8.0 → 3.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lua/src/120-tankers.lua +3 -3
- package/lua/src/150-awacs.lua +3 -3
- package/package.json +1 -1
package/lua/src/120-tankers.lua
CHANGED
|
@@ -448,7 +448,7 @@ function triggerOnDemandTanker(type, askedDuration, askedFL, askedSpeed, askedAn
|
|
|
448
448
|
TankerGroup:HandleEvent(EVENTS.Dead)
|
|
449
449
|
function TankerGroup:OnEventLand(EventData)
|
|
450
450
|
COORDINATE:RemoveMark(map_marker[self:GetName()])
|
|
451
|
-
if self.
|
|
451
|
+
if self.customconfig.escortgroupname then
|
|
452
452
|
jtff_log.info('RTB: '..self.GroupName..'...',"TANKER")
|
|
453
453
|
if self.escortGroupObject:IsAirborne(false) == true then
|
|
454
454
|
jtff_log.info('escort RTB : '.. self.escortGroupObject.GroupName..' Tanker : '..self.GroupName..'...',"TANKER")
|
|
@@ -460,7 +460,7 @@ function triggerOnDemandTanker(type, askedDuration, askedFL, askedSpeed, askedAn
|
|
|
460
460
|
end
|
|
461
461
|
function TankerGroup:OnEventCrash(EventData)
|
|
462
462
|
COORDINATE:RemoveMark(map_marker[self:GetName()])
|
|
463
|
-
if self.
|
|
463
|
+
if self.customconfig.escortgroupname then
|
|
464
464
|
jtff_log.info('RTB: '..self.GroupName..'...',"TANKER")
|
|
465
465
|
if self.escortGroupObject:IsAirborne(false) == true then
|
|
466
466
|
jtff_log.info('escort RTB : '.. self.escortGroupObject.GroupName..' Tanker : '..self.GroupName..'...',"TANKER")
|
|
@@ -472,7 +472,7 @@ function triggerOnDemandTanker(type, askedDuration, askedFL, askedSpeed, askedAn
|
|
|
472
472
|
end
|
|
473
473
|
function TankerGroup:OnEventDead(EventData)
|
|
474
474
|
COORDINATE:RemoveMark(map_marker[self:GetName()])
|
|
475
|
-
if self.
|
|
475
|
+
if self.customconfig.escortgroupname then
|
|
476
476
|
jtff_log.info('RTB: '..self.GroupName..'...',"TANKER")
|
|
477
477
|
if self.escortGroupObject:IsAirborne(false) == true then
|
|
478
478
|
jtff_log.info('escort RTB : '.. self.escortGroupObject.GroupName..' Tanker : '..self.GroupName..'...',"TANKER")
|
package/lua/src/150-awacs.lua
CHANGED
|
@@ -450,7 +450,7 @@ function triggerOnDemandAwacs(type, askedDuration, askedFL, askedSpeed, askedAnc
|
|
|
450
450
|
AwacsGroup:HandleEvent(EVENTS.Dead)
|
|
451
451
|
function AwacsGroup:OnEventLand(EventData)
|
|
452
452
|
COORDINATE:RemoveMark(map_marker[self:GetName()])
|
|
453
|
-
if self.
|
|
453
|
+
if self.customconfig.escortgroupname then
|
|
454
454
|
jtff_log.info('RTB: '..self.GroupName..'...',"AWACS")
|
|
455
455
|
if self.escortGroupObject:IsAirborne(false) == true then
|
|
456
456
|
jtff_log.info('escort RTB : '.. self.escortGroupObject.GroupName..' AWACS : '..self.GroupName..'...',"AWACS")
|
|
@@ -462,7 +462,7 @@ function triggerOnDemandAwacs(type, askedDuration, askedFL, askedSpeed, askedAnc
|
|
|
462
462
|
end
|
|
463
463
|
function AwacsGroup:OnEventCrash(EventData)
|
|
464
464
|
COORDINATE:RemoveMark(map_marker[self:GetName()])
|
|
465
|
-
if self.
|
|
465
|
+
if self.customconfig.escortgroupname then
|
|
466
466
|
jtff_log.info('RTB: '..self.GroupName..'...',"AWACS")
|
|
467
467
|
if self.escortGroupObject:IsAirborne(false) == true then
|
|
468
468
|
jtff_log.info('escort RTB : '.. self.escortGroupObject.GroupName..' AWACS : '..self.GroupName..'...',"AWACS")
|
|
@@ -474,7 +474,7 @@ function triggerOnDemandAwacs(type, askedDuration, askedFL, askedSpeed, askedAnc
|
|
|
474
474
|
end
|
|
475
475
|
function AwacsGroup:OnEventDead(EventData)
|
|
476
476
|
COORDINATE:RemoveMark(map_marker[self:GetName()])
|
|
477
|
-
if self.
|
|
477
|
+
if self.customconfig.escortgroupname then
|
|
478
478
|
jtff_log.info('RTB: '..self.GroupName..'...',"AWACS")
|
|
479
479
|
if self.escortGroupObject:IsAirborne(false) == true then
|
|
480
480
|
jtff_log.info('escort RTB : '.. self.escortGroupObject.GroupName..' AWACS : '..self.GroupName..'...',"AWACS")
|