DCS World Typescript
    Preparing search index...

    2.9.10.4160

    interface l_StaticObject {
        className_: string;
        parentClass_: {
            Category: {
                BASE: number;
                CARGO: number;
                SCENERY: number;
                STATIC: number;
                UNIT: number;
                VOID: number;
                WEAPON: number;
            };
            className_: string;
            database_: { getCategoryEx(...args: any[]): unknown };
            parentClass_: { className_: string };
            cancelChoosingCargo(...args: any[]): unknown;
            destroy(...args: any[]): unknown;
            getAttributes(...args: any[]): unknown;
            getCategory(...args: any[]): unknown;
            getName(...args: any[]): unknown;
            getPoint(...args: any[]): unknown;
            getPosition(...args: any[]): unknown;
            getTypeName(...args: any[]): unknown;
            getVelocity(...args: any[]): unknown;
            hasAttribute(...args: any[]): unknown;
            inAir(...args: any[]): unknown;
            isExist(...args: any[]): unknown;
            tonumber(...args: any[]): unknown;
        };
        chooseCargo(...args: any[]): unknown;
        getByName(name: string): l_StaticObject | undefined;
        getCargoDisplayName(...args: any[]): unknown;
        getCargoWeight(...args: any[]): unknown;
        getCoalition(): number;
        getCountry(): number;
        getCountry(): number;
        getDesc(): StaticObjectDesc;
        getDescByName(...args: any[]): unknown;
        getDrawArgumentValue(...args: any[]): unknown;
        getForcesName(...args: any[]): unknown;
        getID(): number;
        getLife(...args: any[]): unknown;
        getName(): string;
        getPoint(): l_Vec3;
        getPosition(): l_Position3;
        getTypeName(...args: any[]): unknown;
        tonumber(...args: any[]): unknown;
    }

    Hierarchy (View Summary)

    Index

    Properties

    className_: string
    parentClass_: {
        Category: {
            BASE: number;
            CARGO: number;
            SCENERY: number;
            STATIC: number;
            UNIT: number;
            VOID: number;
            WEAPON: number;
        };
        className_: string;
        database_: { getCategoryEx(...args: any[]): unknown };
        parentClass_: { className_: string };
        cancelChoosingCargo(...args: any[]): unknown;
        destroy(...args: any[]): unknown;
        getAttributes(...args: any[]): unknown;
        getCategory(...args: any[]): unknown;
        getName(...args: any[]): unknown;
        getPoint(...args: any[]): unknown;
        getPosition(...args: any[]): unknown;
        getTypeName(...args: any[]): unknown;
        getVelocity(...args: any[]): unknown;
        hasAttribute(...args: any[]): unknown;
        inAir(...args: any[]): unknown;
        isExist(...args: any[]): unknown;
        tonumber(...args: any[]): unknown;
    }

    Methods

    • Returns an instance of the calling class for the object of a specified name. The objects name is defined either in the mission editor or within functions that can dynamically spawn objects. All static objects and unit names must be unique. However, groups may have the same name as a unit or static object.

      This function can provide access to non activated units and groups.

      Parameters

      • name: string

      Returns l_StaticObject | undefined

    • Returns an enumerator that defines the country that an object currently belongs to

      Returns number

    • Returns an enumerator that defines the country that an object currently belongs to

      Returns number