mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
reproduced edits by guimcdo
This commit is contained in:
6
CTLD.lua
6
CTLD.lua
@@ -5284,6 +5284,9 @@ function ctld.JTACAutoLase(_jtacGroupName, _laserCode, _smoke, _lock, _colour, _
|
|||||||
--remove from smoke list
|
--remove from smoke list
|
||||||
ctld.jtacSmokeMarks[_tempUnitInfo.name] = nil
|
ctld.jtacSmokeMarks[_tempUnitInfo.name] = nil
|
||||||
|
|
||||||
|
-- JTAC Unit: resume his route ------------
|
||||||
|
trigger.action.groupContinueMoving(Group.getByName(_jtacGroupName))
|
||||||
|
|
||||||
-- remove from target list
|
-- remove from target list
|
||||||
ctld.jtacCurrentTargets[_jtacGroupName] = nil
|
ctld.jtacCurrentTargets[_jtacGroupName] = nil
|
||||||
|
|
||||||
@@ -5312,6 +5315,9 @@ function ctld.JTACAutoLase(_jtacGroupName, _laserCode, _smoke, _lock, _colour, _
|
|||||||
local fullMessage = message .. '. CODE: ' .. _laserCode .. ". POSITION: " .. ctld.getPositionString(_enemyUnit)
|
local fullMessage = message .. '. CODE: ' .. _laserCode .. ". POSITION: " .. ctld.getPositionString(_enemyUnit)
|
||||||
ctld.notifyCoalition(fullMessage, 10, _jtacUnit:getCoalition(), _radio, message)
|
ctld.notifyCoalition(fullMessage, 10, _jtacUnit:getCoalition(), _radio, message)
|
||||||
|
|
||||||
|
-- JTAC Unit stop his route -----------------
|
||||||
|
trigger.action.groupStopMoving(Group.getByName(_jtacGroupName)) -- stop JTAC
|
||||||
|
|
||||||
-- create smoke
|
-- create smoke
|
||||||
if _smoke == true then
|
if _smoke == true then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user