Skip to content

five-on-it / packages/ai/src/system / makeNoise

Function: makeNoise() ​

makeNoise(ai, x, z, radius): void

Defined in: packages/ai/src/system.ts:694

A mission's noise (its noise action, a distraction): heard by the NPCs on their next tick within radius of (x, z) (and their own hearing), nobody's: a guard turns suspicious and walks over to look.

Parameters ​

ai ​

AiWorld

x ​

number

z ​

number

radius ​

number

Returns ​

void