mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Checks wingman tasking every tick to make sure target is still alive
This commit is contained in:
parent
ead4911806
commit
3f9f07ade2
@ -136,6 +136,8 @@ do
|
||||
local nextTickTime = time + math.random(10, 20)
|
||||
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 TUM.playerScore.onClockTick() then return nextTickTime end
|
||||
if TUM.mission.onClockTick() then return nextTickTime end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user