five-on-it / packages/missions/src/expressions / comparedValues
Function: comparedValues()
comparedValues(
condition): (number| {counter:string; } | {timeLeft:true; } | {elapsed:true; } | {count: {players: {caught?:true;group?:string;in?:string;near?: {place:string;radius:number; };tag?:string;team?:string; }; } | {enemies: {caught?:true;group?:string;in?:string;near?: {place:string;radius:number; };tag?:string;team?:string; }; } | {vehicles: {caught?:true;group?:string;in?:string;near?: {place:string;radius:number; };tag?:string;team?:string; }; } | {items: {caught?:true;group?:string;in?:string;near?: {place:string;radius:number; };tag?:string;team?:string; }; }; } | {distance: ["player"| {actor:string; } | {place:string; } | {team:string; },"player"| {actor:string; } | {place:string; } | {team:string; }]; } | {health:"player"| {actor:string; } | {place:string; } | {team:string; }; } | {wanted:true; } | {phaseOf:string; } | {phase:"search"|"normal"|"alert"|"caution"|"suspicious"; } | {kills:true; } | {alerts:true; } | {seen:true; } | {form:string; } | {time:true; })[]
Defined in: packages/missions/src/expressions.ts:177
The values a condition compares, at every depth.
Parameters
condition
Returns
(number | { counter: string; } | { timeLeft: true; } | { elapsed: true; } | { count: { players: { caught?: true; group?: string; in?: string; near?: { place: string; radius: number; }; tag?: string; team?: string; }; } | { enemies: { caught?: true; group?: string; in?: string; near?: { place: string; radius: number; }; tag?: string; team?: string; }; } | { vehicles: { caught?: true; group?: string; in?: string; near?: { place: string; radius: number; }; tag?: string; team?: string; }; } | { items: { caught?: true; group?: string; in?: string; near?: { place: string; radius: number; }; tag?: string; team?: string; }; }; } | { distance: ["player" | { actor: string; } | { place: string; } | { team: string; }, "player" | { actor: string; } | { place: string; } | { team: string; }]; } | { health: "player" | { actor: string; } | { place: string; } | { team: string; }; } | { wanted: true; } | { phaseOf: string; } | { phase: "search" | "normal" | "alert" | "caution" | "suspicious"; } | { kills: true; } | { alerts: true; } | { seen: true; } | { form: string; } | { time: true; })[]