Skip to content

five-on-it / packages/sim/src/boarding / getInAt

Function: getInAt() ​

getInAt(sim, eid, vehicle, seat): boolean

Defined in: packages/sim/src/boarding.ts:133

Starts getting in a vehicle's seat at once, where the character stands, for EXIT.inTicks (a carjacker at the door it pulled the driver out of, carjack.ts): no way to the door, the seat kept for it as for anybody getting in. Returns false for a seat the car has not, or one taken or kept for another.

Parameters ​

sim ​

SimWorld

eid ​

number

vehicle ​

number

seat ​

number

Returns ​

boolean