rednode API - v0.80.1
    Preparing search index...

    Interface UseWorkspotOptions

    Options for world.useWorkspot.

    interface UseWorkspotOptions {
        at?: "here" | "workspot";
        camera?: boolean;
        entry?: string | number;
        tier?: 2 | 4 | 3 | 5;
        waitMs?: number;
        workspot?: string;
    }
    Index
    at?: "here" | "workspot"

    "here" (the default): where the person stands. "workspot": at the workspot's own place.

    camera?: boolean

    For V only ("player"): whether V's first person camera follows the animation (the game's allowCameraMov). Default true.

    Optionalentry

    entry?: string | number

    An entry to jump to once the workspot has started: a name from world.writeWorkspot, an animation's name, or an entry id. The jump is instant, blended by the game.

    tier?: 2 | 4 | 3 | 5

    For V only ("player"), experimental: the scene tier V is put in while the workspot plays, as a quest scene does, so the player cannot walk V out of it. 2 is staged gameplay (V walks slowly), 3 limited gameplay, 4 a first person cinematic, 5 a cinematic. Given back to full gameplay (1) when the workspot ends, at world.stopWorkspot and when the package stops. Unverified until #47's test: which tier keeps V still and what each does to the camera.

    waitMs?: number

    How long to wait for the person to be in the workspot, in milliseconds. Default 2000.

    workspot?: string

    A .workspot depot path. When the person carries another one (or none), REDnode spawns them again in the same place carrying this one, and answers the new id (world.onRespawn hears it too).