Skip to content

directorCommand beta ​

Variable of @v12-engine/engine

ts
directorCommand: import("../../commands").DefinedCommand<"director", {
    cinematic: import("../../fields").Check<string>;
    action: import("../../fields").Check<"facing" | "invulnerable" | "kill" | "order" | "owner" | "remove" | "scale" | "spawn" | "teleport">;
    unit: import("../../fields").Check<number | undefined>;
    unitType: import("../../fields").Check<string | undefined>;
    owner: import("../../fields").Check<number | undefined>;
    at: import("../../fields").Check<import("../..").Vec2 | undefined>;
    facing: import("../../fields").Check<number | undefined>;
    scale: import("../../fields").Check<number | undefined>;
    on: import("../../fields").Check<boolean | undefined>;
    name: import("../../fields").Check<string | undefined>;
    order: import("../../fields").Check<"attack" | "attackMove" | "hold" | "move" | "patrol" | "stop" | undefined>;
    target: import("../../fields").Check<number | undefined>;
}>

A cinematic's say over the game (see the top of this file): action with what it takes. unit is the one it is done to (any player's); spawn puts one of unitType down for owner at at, turned to facing, named name for what comes after it in the cinematic (world.named)