five-on-it / packages/sim/src/boarding / leaveVehicle
Function: leaveVehicle()
leaveVehicle(
sim,eid):boolean
Defined in: packages/sim/src/boarding.ts:298
What the interaction key does to a seated character, as its car's speed allows (exitMode): at a crawl it steps out at its door (stepOut); up to the bail-out limit it bails out; faster it stays in, and so does the dead. Returns whether it got out.
Parameters
sim
eid
number
Returns
boolean