FireGuns
Fire guns at target
Usage: Used in 9 task(s)
Lua Implementation
-- Fire Guns
function execute(params)
local target = params.target
local gunSystem = this:getSystem("Gun")
if gunSystem and target and target:isValid() then
gunSystem:setAttribute("Target", target)
gunSystem:setAttribute("Fire", true)
this:addTask("DtFire", {
target = target,
weapon = "gun",
duration = params.duration or 2.0
})
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)