DeployChaff

Deploy chaff countermeasures

Usage: Used in 0 task(s)

Lua Implementation

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

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

This action is not currently used by any tasks.