ReadyToAssault
Check if unit is ready to assault
Usage: Used in 9 task(s)
Lua Implementation
-- Ready To Assault
function evaluate(params)
local assaultPos = this:getStateProperty("AssaultPosition")
local objective = this:getStateProperty("Objective")
if not assaultPos or not objective then
return false
end
-- Check if at assault position
local atPosition = IsAtLocation{location = assaultPos, tolerance = 100}
-- Check if unit is operational
local operational = IsOperational{}
return atPosition and operational
end
Tasks Using This Predicate (9)
Assault Force Movement to Contact
Offensive Operations (LAND DOMAIN)
Breakthrough Operations
Offensive Operations (LAND DOMAIN)
Exploitation of Gaps
Offensive Operations (LAND DOMAIN)
Artillery Preparation Fires
Combined Arms Assault (LAND DOMAIN)
Engineer Breaching Support
Combined Arms Assault (LAND DOMAIN)
Assault Force Insertion
Combined Arms Assault (LAND DOMAIN)
Objective Seizure
Combined Arms Assault (LAND DOMAIN)
Exploitation Force Commitment
Combined Arms Assault (LAND DOMAIN)
Rubble Navigation and Breaching
Urban Warfare (LAND DOMAIN)