CalculateFireSolution
Calculate artillery fire solution
Usage: Used in 11 task(s)
Lua Implementation
-- Calculate Fire Solution
function execute(params)
local targetLoc = params.target_location
local myLoc = this:getLocation3D()
local range = spatialUtil.distance(myLoc, targetLoc)
local bearing = spatialUtil.bearing(myLoc, targetLoc)
local elevation = params.gun_elevation or 45
local fireSolution = {
range = range,
bearing = bearing,
elevation = elevation,
chargeLevel = params.charge or "normal",
fuze = params.fuze or "quick"
}
this:setStateProperty("FireSolution", fireSolution)
return true
end
Tasks Using This Action (11)
Air Defense Artillery Positioning
Air Denial Operations (AIR DOMAIN)
Artillery Spotting and Correction
Unmanned Aerial Vehicle (UAV) Operations (AIR DOMAIN)
Engagement Area Development
Defensive Operations (LAND DOMAIN)
Artillery Preparation Fires
Combined Arms Assault (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)