Skip to content

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

Variable: EscortObjective ​

const EscortObjective: ZodObject<{ actor: ZodString; checkpoint: ZodOptional<ZodBoolean>; failText: ZodOptional<ZodString>; hint: ZodOptional<ZodString>; id: ZodString; marker: ZodOptional<ZodString>; maxDamage: ZodOptional<ZodNumber>; next: ZodOptional<ZodObject<{ done: ZodOptional<ZodUnion<readonly [ZodString, ZodString]>>; failed: ZodOptional<ZodUnion<readonly [ZodString, ZodString]>>; }, $strict>>; team: ZodOptional<ZodString>; text: ZodOptional<ZodString>; timeLimit: ZodOptional<ZodNumber>; to: ZodString; verb: ZodLiteral<"escort">; }, $strict>

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

Bring a VIP (an npc actor of the role vip) into a zone: it follows the player on foot and rides in their car; done once it stands in the zone with the player (a member of their party) its leader; fails when it dies, or once it has taken more than maxDamage per cent of its health.