Skip to content

five-on-it / packages/sim/src/vehicle / setPursuit

Function: setPursuit() ​

setPursuit(sim, eid, on): void

Defined in: packages/sim/src/vehicle.ts:177

Fits a vehicle with the pursuit tune (an interceptor's engine: PURSUIT_TUNE), or takes it out.

Parameters ​

sim ​

SimWorld

eid ​

number

on ​

boolean

Returns ​

void