Skip to content

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

Variable: DestroyObjective ​

const DestroyObjective: 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>>; targets: ZodArray<ZodString>; team: ZodOptional<ZodString>; text: ZodOptional<ZodString>; timeLimit: ZodOptional<ZodNumber>; verb: ZodLiteral<"destroy">; }, $strict>

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

Destroy actors: vehicles (wrecked), NPCs (dead), groups of enemies (every member down for good), cameras (shot to pieces), the level's light pieces (prop actors, knocked loose). Done once each has been destroyed during it; the tracker points at the nearest still standing.