RequestLandingClearance

Request clearance to land at airfield

Usage: Used in 6 task(s)

Lua Implementation

-- Request Landing Clearance
function execute(params)
    local airfield = params.airfield

    vrf.sendMessage{
        sender = this,
        receivers = {airfield},
        messageType = "LANDING_REQUEST",
        messageBody = {
            eta = params.eta,
            fuel_state = this:getFuel()
        }
    }
    return true
end