Rearm

Rearm weapons from supply point

Usage: Used in 7 task(s)

Lua Implementation

-- Rearm
function execute(params)
    local supplyPoint = params.supply_point

    if supplyPoint and supplyPoint:isValid() then
        this:addTask("DtRearm", {
            location = supplyPoint,
            ordnanceType = params.ordnance_type or "all"
        })
        return true
    end
    return false
end