SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias BotSetMovementStateRequest

    BotSetMovementStateRequest: Message<"soulfire.v1.BotSetMovementStateRequest"> & {
        backward?: boolean;
        botId: string;
        forward?: boolean;
        instanceId: string;
        jump?: boolean;
        left?: boolean;
        right?: boolean;
        sneak?: boolean;
        sprint?: boolean;
    }

    Request to update the bot's movement state. Each field is optional to allow partial updates - only specified fields are changed. The movement state persists until explicitly changed or reset.

    Type Declaration

    • Optionalbackward?: boolean

      S key state - move backward. true = pressing S, false = not pressing S

      from field: optional bool backward = 4;

    • botId: string

      The profile UUID of the bot to control.

      from field: string bot_id = 2;

    • Optionalforward?: boolean

      W key state - move forward. true = pressing W, false = not pressing W

      from field: optional bool forward = 3;

    • instanceId: string

      The UUID of the SoulFire instance containing the bot.

      from field: string instance_id = 1;

    • Optionaljump?: boolean

      Space key state - jump. true = pressing Space, false = not pressing Space When held, the bot will jump repeatedly.

      from field: optional bool jump = 7;

    • Optionalleft?: boolean

      A key state - strafe left. true = pressing A, false = not pressing A

      from field: optional bool left = 5;

    • Optionalright?: boolean

      D key state - strafe right. true = pressing D, false = not pressing D

      from field: optional bool right = 6;

    • Optionalsneak?: boolean

      Shift key state - sneak/crouch. true = sneaking, false = not sneaking While sneaking: slower movement, won't fall off edges, crouching animation.

      from field: optional bool sneak = 8;

    • Optionalsprint?: boolean

      Ctrl key state - sprint. true = sprinting, false = not sprinting Requires forward movement and sufficient hunger (food level >= 6).

      from field: optional bool sprint = 9;

    from message soulfire.v1.BotSetMovementStateRequest