SafeToFire
Check if safe to fire weapon
Usage: Used in 28 task(s)
Lua Implementation
-- Safe To Fire
function evaluate(params)
local target = params.target
if not target then
return false
end
-- Check ROE
if not ROEAllowsEngagement{} then
return false
end
-- Check for friendlies
if not ClearToEngage{target = target} then
return false
end
-- Check weapon status
if not WeaponReady{weapon_system = params.weapon_system} then
return false
end
return true
end
Tasks Using This Predicate (28)
Quick Reaction Alert (QRA) Scrambles
Air Superiority (AIR DOMAIN)
Surface-to-Air Missile (SAM) Positioning
Air Denial Operations (AIR DOMAIN)
Medium/Long-Range SAM Umbrella Creation
Air Denial Operations (AIR DOMAIN)
Air Defense Artillery Positioning
Air Denial Operations (AIR DOMAIN)
Gun Runs and Strafing
Close Air Support (CAS) (AIR DOMAIN)
Rocket/Missile Strikes on Tactical Targets
Close Air Support (CAS) (AIR DOMAIN)
SAM Battery Destruction
Suppression/Destruction of Enemy Air Defense (SEAD/DEAD) (AIR DOMAIN)
Anti-Radiation Missile Employment
Suppression/Destruction of Enemy Air Defense (SEAD/DEAD) (AIR DOMAIN)
Decoy Operations
Suppression/Destruction of Enemy Air Defense (SEAD/DEAD) (AIR DOMAIN)
Weapons Cache Destruction
Precision Strike (AIR DOMAIN)
Artillery Spotting and Correction
Unmanned Aerial Vehicle (UAV) Operations (AIR DOMAIN)
Kinetic Interception (Guns, Missiles)
Counter-Drone Operations (C-UAS) (AIR DOMAIN)
Directed Energy Weapon Engagement
Counter-Drone Operations (C-UAS) (AIR DOMAIN)
Aircraft Destruction on Ground
Airfield Attack (AIR DOMAIN)
Engagement Area Development
Defensive Operations (LAND DOMAIN)
Target Acquisition and Handoff
Reconnaissance and Surveillance (LAND DOMAIN)
Fuel Delivery Under Fire
Logistics and Sustainment (LAND DOMAIN)
Artillery Preparation Fires
Combined Arms Assault (LAND DOMAIN)
Direct Fire Engagement
Armored Warfare (LAND DOMAIN)
Overwatch Positioning
Armored Warfare (LAND DOMAIN)
Fire Mission Execution
Artillery and Fires Operations (LAND DOMAIN)
Target Acquisition and Engagement
Artillery and Fires Operations (LAND DOMAIN)
Indirect Fire Support Coordination
Artillery and Fires Operations (LAND DOMAIN)
Barrage and Concentration Fires
Artillery and Fires Operations (LAND DOMAIN)
Suppression Fires
Artillery and Fires Operations (LAND DOMAIN)
Interdiction Fires
Artillery and Fires Operations (LAND DOMAIN)
Harassment and Interdiction (H&I)
Artillery and Fires Operations (LAND DOMAIN)
Anti-Ship Missile Battery Deployment
Area Denial/Anti-Access (SURFACE DOMAIN)