Skip to content

five-on-it / packages/ai/src/wanted / setStars

Function: setStars() ​

setStars(w, stars, tick, at): void

Defined in: packages/ai/src/wanted.ts:308

Sets a player's stars outright (a mission's setWanted, the debug command): the Heat at their floor, the police told where the player is now (at), the clock of losing them started; zero clears the Wanted level.

Parameters ​

w ​

Wanted

stars ​

number

tick ​

number

at ​

{ x: number; z: number; } | undefined

Returns ​

void