interface l_coalition {
    service: {
        ATC: number;
        AWACS: number;
        FAC: number;
        MAX: number;
        TANKER: number;
    };
    side: { BLUE: number; NEUTRAL: number; RED: number };
    add_dyn_group(...args: any[]): unknown;
    addGroup(...args: any[]): unknown;
    addRefPoint(...args: any[]): unknown;
    addStaticObject(...args: any[]): unknown;
    checkChooseCargo(...args: any[]): unknown;
    checkDescent(...args: any[]): unknown;
    getAirbases(coalitionId: number): l_Airbase[];
    getAllDescents(...args: any[]): unknown;
    getCountryCoalition(...args: any[]): unknown;
    getDescentsOnBoard(...args: any[]): unknown;
    getGroups(coalitionId: number, groupCategory?: number): l_Group[];
    getMainRefPoint(...args: any[]): unknown;
    getPlayers(...args: any[]): unknown;
    getRefPoints(...args: any[]): unknown;
    getServiceProviders(...args: any[]): unknown;
    getStaticObjects(coalitionId: number): l_StaticObject[];
    remove_dyn_group(...args: any[]): unknown;
}

Hierarchy (View Summary)

Properties

service: {
    ATC: number;
    AWACS: number;
    FAC: number;
    MAX: number;
    TANKER: number;
}
side: { BLUE: number; NEUTRAL: number; RED: number }

Methods

  • Returns a table of airbase objects belonging to the specified coalition. Objects can be ships, static objects(FARP), or airbases on the map.

    When the function is run as world.getAirbases() no input values required, and the function returns all airbases, ships, and farps on the map.

    Parameters

    • coalitionId: number

    Returns l_Airbase[]

  • Returns a table of group objects belonging to the specified coalition. If the groupCategory enumerator is provided the table will only contain groups that belong to the specified category. If this optional variable is not provided, all group types will be returned.

    See here for the list of possible group categories.

    Parameters

    • coalitionId: number
    • OptionalgroupCategory: number

    Returns l_Group[]