Skip to content

five-on-it / packages/missions/src/schema / ChaseObjective

Variable: ChaseObjective ​

const ChaseObjective: ZodObject<{ checkpoint: ZodOptional<ZodBoolean>; failText: ZodOptional<ZodString>; hint: ZodOptional<ZodString>; id: ZodString; marker: ZodOptional<ZodString>; next: ZodOptional<ZodObject<{ done: ZodOptional<ZodUnion<readonly [ZodString, ZodString]>>; failed: ZodOptional<ZodUnion<readonly [ZodString, ZodString]>>; }, $strict>>; radius: ZodDefault<ZodNumber>; target: ZodString; team: ZodOptional<ZodString>; text: ZodOptional<ZodString>; timeLimit: ZodOptional<ZodNumber>; to: ZodOptional<ZodString>; verb: ZodLiteral<"chase">; }, $strict>

Defined in: packages/missions/src/schema.ts:968

Run a target down: an npc actor of the role target (it flees on foot for its refuge) or driver (it drives off over the roads, flat out) flees as the objective starts, for the place to when it says; done once it is stopped (down, or standing still after fleeing: its car boxed in, wrecked, its driver pulled out) with the player (a member of their party) within radius metres of it; fails when it gets away (safe in its refuge, at the end of its getaway).