five-on-it / packages/sim/src/acts / markAct
Function: markAct()
markAct(
sim,eid,act):void
Defined in: packages/sim/src/acts.ts:143
Marks a character as doing act now (a shot, a punch, a pickup), a new one for the renderers.
Parameters
sim
eid
number
act
"type" | "none" | "door" | "pickup" | "sit" | "dance" | "smoke" | "lie" | "lean" | "drop" | "search" | "plant" | "pick" | "defuse" | "repair" | "restrain" | "drag" | "hack" | "fire" | "use" | "phone" | "open" | "punch" | "knockout" | "throw" | "talk" | "shake" | "rummage" | "call" | "board" | "enter" | "exit" | "cower" | "climb" | "swim" | "bark" | "knock" | "point" | "handsUp" | "surrender" | "restrained"
Returns
void