RoomClear
Check if room is clear
Usage: Used in 7 task(s)
Lua Implementation
-- Room Clear
function evaluate(params)
local room = params.room_location or this:getStateProperty("CurrentRoom")
if not room then
return false
end
return this:hasStateProperty("RoomCleared_" .. tostring(room))
end
Tasks Using This Predicate (7)
Hangar and Maintenance Facility Strikes
Airfield Attack (AIR DOMAIN)
Building Isolation and Clearance
Urban Warfare (LAND DOMAIN)
Room-to-Room Fighting
Urban Warfare (LAND DOMAIN)
Floor-by-Floor Advance
Urban Warfare (LAND DOMAIN)
Block-by-Block Progression
Urban Warfare (LAND DOMAIN)
Rubble Navigation and Breaching
Urban Warfare (LAND DOMAIN)
Vertical Envelopment Operations
Urban Warfare (LAND DOMAIN)