mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2026-08-25 02:41:51 +00:00
Checks wingman tasking every tick to make sure target is still alive
This commit is contained in:
@@ -136,6 +136,8 @@ do
|
|||||||
local nextTickTime = time + math.random(10, 20)
|
local nextTickTime = time + math.random(10, 20)
|
||||||
clockTick = clockTick + 1
|
clockTick = clockTick + 1
|
||||||
|
|
||||||
|
TUM.wingmenTasking.onClockTick() -- No need to check the function return, it's just here to check if wingmen target is still alive
|
||||||
|
|
||||||
if clockTick % 4 == 0 then
|
if clockTick % 4 == 0 then
|
||||||
if TUM.playerScore.onClockTick() then return nextTickTime end
|
if TUM.playerScore.onClockTick() then return nextTickTime end
|
||||||
if TUM.mission.onClockTick() then return nextTickTime end
|
if TUM.mission.onClockTick() then return nextTickTime end
|
||||||
|
|||||||
Reference in New Issue
Block a user