mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Increasing time JTAC radio messages stay on the UI. (#1369)
- Target lost or killed: 10s -> 20s - New target : 10s -> 30s - Request JTAC Status: 25s -> 60s
This commit is contained in:
parent
7ba4077f9f
commit
c8e5cefd36
@ -11,6 +11,7 @@ Saves from 3.x are not compatible with 5.0.
|
||||
Saves from 4.0.0 are compatible with 4.0.1.
|
||||
|
||||
## Features/Improvements
|
||||
* **[Plugins]** Increased time JTAC Autolase messages stay visible on the UI.
|
||||
|
||||
* **[UI]** Added ability to take notes and have those notes appear as a kneeboard page.
|
||||
* **[UI]** Hovering over the weather information now dispalys the cloud base (meters and feet).
|
||||
|
||||
@ -161,9 +161,9 @@ function JTACAutoLase(jtacGroupName, laserCode,smoke,lock,colour)
|
||||
local tempUnit = Unit.getByName(tempUnitInfo.name)
|
||||
|
||||
if tempUnit ~= nil and tempUnit:getLife() > 0 and tempUnit:isActive() == true then
|
||||
notify(jtacGroupName .. " target " .. tempUnitInfo.unitType .. " lost. Scanning for Targets. ", 10)
|
||||
notify(jtacGroupName .. " target " .. tempUnitInfo.unitType .. " lost. Scanning for Targets. ", 20)
|
||||
else
|
||||
notify(jtacGroupName .. " target " .. tempUnitInfo.unitType .. " KIA. Good Job! Scanning for Targets. ", 10)
|
||||
notify(jtacGroupName .. " target " .. tempUnitInfo.unitType .. " KIA. Good Job! Scanning for Targets. ", 20)
|
||||
end
|
||||
|
||||
--remove from smoke list
|
||||
@ -186,7 +186,7 @@ function JTACAutoLase(jtacGroupName, laserCode,smoke,lock,colour)
|
||||
-- store current target for easy lookup
|
||||
GLOBAL_JTAC_CURRENT_TARGETS[jtacGroupName] = { name = enemyUnit:getName(), unitType = enemyUnit:getTypeName(), unitId = enemyUnit:getID() }
|
||||
|
||||
notify(jtacGroupName .. " lasing new target " .. enemyUnit:getTypeName() .. '. CODE: ' .. laserCode ..getPositionString(enemyUnit) , 10)
|
||||
notify(jtacGroupName .. " lasing new target " .. enemyUnit:getTypeName() .. '. CODE: ' .. laserCode ..getPositionString(enemyUnit) , 30)
|
||||
|
||||
-- create smoke
|
||||
if smoke == true then
|
||||
@ -554,7 +554,7 @@ function getJTACStatus()
|
||||
end
|
||||
end
|
||||
|
||||
notify(message, 25)
|
||||
notify(message, 60)
|
||||
end
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user