Skip to content

five-on-it / packages/ai/src/awareness / soundsOf

Function: soundsOf() ​

soundsOf(sim): Sound[]

Defined in: packages/ai/src/awareness.ts:98

The sounds of the last step (see the module documentation): shots at their muzzle and, for a loud one, where they end; blasts; flashbangs; EMPs; pieces knocked loose; doors; players running; gassed players coughing.

Parameters ​

sim ​

SimWorld

Returns ​

Sound[]