five-on-it / packages/sim/src/proxy / wakeVehicle
Function: wakeVehicle()
wakeVehicle(
sim,eid):void
Defined in: packages/sim/src/proxy.ts:117
Wakes a vehicle (its trailer's tractor, given a trailer) before it is touched, hurt or got into: a dormant one is simulated again from where it stands, and any car that dozes when left alone starts its count of being left alone over. Called by whatever shoves or hurts a car (damage.ts, weapons.ts' blast) and by the dormant cars' system (dormant.ts).
Parameters
sim
eid
number
Returns
void