Skip to content

five-on-it / packages/sim/src/status / wake

Function: wake() ​

wake(sim, eid): boolean

Defined in: packages/sim/src/status.ts:115

Wakes a character that sleeps or is knocked out (a noise, a shake): it stands up on the next tick. Returns whether it was one to wake.

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

boolean