Skip to content

five-on-it / packages/sim/src/acts / markAct

Function: markAct() ​

markAct(sim, eid, act): void

Defined in: packages/sim/src/acts.ts:72

Marks a character as doing act now (a shot, a punch, a pickup), a new one for the renderers.

Parameters ​

sim ​

SimWorld

eid ​

number

act ​

"type" | "none" | "door" | "pickup" | "search" | "fire" | "use" | "drop" | "phone" | "open" | "pick" | "punch" | "knockout" | "throw" | "talk" | "shake" | "rummage" | "call" | "board" | "enter" | "exit" | "cower" | "climb" | "swim" | "bark"

Returns ​

void