DeployFlares

Deploy flare countermeasures

Usage: Used in 0 task(s)

Lua Implementation

-- Deploy Flares
function execute(params)
    local cmSystem = this:getSystem("Countermeasures")

    if cmSystem then
        cmSystem:setAttribute("Type", "flare")
        cmSystem:setAttribute("Count", params.count or 2)
        cmSystem:setAttribute("Deploy", true)
        return true
    end
    return false
end

This action is not currently used by any tasks.