SoulFire TypeScript SDK 2.10.3
    Preparing search index...
    FleeTask: Message<"soulfire.v1.FleeTask"> & {
        completeWhenSafe: boolean;
        maximumEscapes: number;
        options?: PathfindOptions;
        safeDistance: number;
        safeSeconds: number;
        threats?: EntitySelector;
        triggerRadius: number;
    }

    Moves away from the nearest matching threat until the configured distance is safe.

    Type Declaration

    • completeWhenSafe: boolean

      Keeps monitoring when false.

      from field: bool complete_when_safe = 6;

    • maximumEscapes: number

      Zero allows unlimited escape cycles.

      from field: uint32 maximum_escapes = 7;

    • Optionaloptions?: PathfindOptions

      from field: soulfire.v1.PathfindOptions options = 4;

    • safeDistance: number

      Minimum distance from the selected threat before an escape completes.

      from field: float safe_distance = 3;

    • safeSeconds: number

      Number of continuously safe seconds before completion.

      from field: uint32 safe_seconds = 5;

    • Optionalthreats?: EntitySelector

      from field: soulfire.v1.EntitySelector threats = 1;

    • triggerRadius: number

      Starts escaping when a threat is within this distance.

      from field: float trigger_radius = 2;

    from message soulfire.v1.FleeTask