LockTarget
Achieve radar/missile lock on target
Usage: Used in 9 task(s)
Lua Implementation
-- Lock Target
function execute(params)
local target = params.target
local radarSystem = this:getSystem("Radar")
local weaponSystem = this:getSystem(params.weapon_system)
if radarSystem and target and target:isValid() then
radarSystem:setAttribute("TrackingMode", "STT")
radarSystem:setAttribute("TrackedTarget", target)
if weaponSystem then
weaponSystem:setAttribute("Target", target)
weaponSystem:setAttribute("Tracking", true)
end
return true
end
return false
end
Tasks Using This Action (9)
Fighter Sweep Operations
Air Superiority (AIR DOMAIN)
Air-to-Air Combat Engagement
Air Superiority (AIR DOMAIN)
Combat Air Patrol (CAP) Establishment
Air Superiority (AIR DOMAIN)
Kinetic Interception (Guns, Missiles)
Counter-Drone Operations (C-UAS) (AIR DOMAIN)
Interceptor Drone Deployment
Counter-Drone Operations (C-UAS) (AIR DOMAIN)
Combat Zone Extraction
Combat Search and Rescue (CSAR) (AIR DOMAIN)
Barrier Combat Air Patrol (BARCAP)
Counter-Air Patrol (AIR DOMAIN)
Target Combat Air Patrol (TARCAP)
Counter-Air Patrol (AIR DOMAIN)
Intercept of Incoming Threats
Counter-Air Patrol (AIR DOMAIN)