Skip to content

MapTarget beta ​

TypeAlias of @v12-engine/engine

ts
export type MapTarget = {
    object: number;
} | {
    camp: number;
} | {
    region: number;
} | {
    point: number;
} | {
    path: number;
} | {
    doodad: number;
} | {
    light: number;
} | {
    effect: number;
} | {
    decal: number;
} | {
    sound: number;
} | {
    waterfall: number;
} | {
    mistArea: number;
} | {
    weatherArea: number;
} | {
    cloudPatch: number;
} | {
    pictureZone: number;
} | {
    player: number;
} | {
    thing: number;
    kind: string;
};

A thing on a map, by its kind and id: what a problem is about, which the editor selects. thing is one of a kind of the game's own (MapThing), with the kind's name