five-on-it / packages/ai/src/police / setWantedStars
Function: setWantedStars()
setWantedStars(
ai,client,stars,heat?):boolean
Defined in: packages/ai/src/police.ts:747
Sets a player's stars outright (a mission's setWanted, the debug command), 0 to 10 and the room's maxStars at most, at a Heat when one is given: the police know where the player is now. Returns whether there are police and such a player.
Parameters
ai
client
number
stars
number
heat?
number
Returns
boolean