Skip to content

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

Function: setVehicleStalled() ​

setVehicleStalled(sim, eid, stalled): void

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

Takes the server's word on an EMP's stall (ordnance.ts), as on a fill-up: stalled, the engine stays dead for the hold at least, so a replay never starts it again early; not, it runs at once.

Parameters ​

sim ​

SimWorld

eid ​

number

stalled ​

boolean

Returns ​

void