Room-to-Room Fighting

Description

Close quarters combat within buildings.

Lua Implementation

-- Task: Room-to-Room Fighting
-- Operation: Urban Warfare (LAND DOMAIN)
-- Refactored to use TaskRunner

local TaskRunner = require("TaskRunner")

local config = {
    subtasks = {"StackOnDoor", "BreachDoor", "EnterAndClear", "SecureRoom", "MoveTONextRoom"},
    timeoutSeconds = 300,
    flags = {
        activateSensors = false,
        captureTargetLocation = false,
        enableParallelSensing = false,
        requireAmmoForEngagement = false,
        requireEngagementAuth = false,
        enableAttackFallback = false,
        sendStartReport = false,
        sendFallbackReport = false,
        requestSupport = false,
        sendCompletionReport = false,
        fallbackWaitSeconds = 30
    }
}

return TaskRunner.create(config)
4 actions (clickable in blue) 8 predicates (clickable in green)

Behavior Tree

Open full view
  • sequence TaskRoot
    • sequence PreChecks
      • conditional IsOperational cond: IsOperational
      • conditional HasFuel cond: HasFuel
    • sequence Execution
      • sequence SubtaskSequence
        • task StackOnDoor Subtask #616
        • task BreachDoor Subtask #617
        • task EnterAndClear Subtask #618
        • task SecureRoom Subtask #619
        • task MoveTONextRoom Subtask #620

Sub-task Records

  • StackOnDoor - Position for entry
  • BreachDoor - Create entry
  • EnterAndClear - Clear room
  • SecureRoom - Establish control
  • MoveTONextRoom - Continue clearance

Parameters

No parameters defined yet.

Outputs

No outputs defined yet.

Manage Primitives