five-on-it / packages/missions/src/expressions / valueOf
Function: valueOf()
valueOf(
value,scope):number
Defined in: packages/missions/src/expressions.ts:112
A value on this step.
Parameters
value
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; }
scope
Returns
number