five-on-it / packages/ai/src/system / aiSystem
Function: aiSystem()
aiSystem(
ai):void
Defined in: packages/ai/src/system.ts:564
One tick of every NPC, in entity order: the ones the last step carjacked out of their car start fleeing, then each decides (a sentry with its own brain, between the book of stealth's look at the cameras and its count of who is seen); the ones that asked to go are removed after. Then the traffic.
Parameters
ai
Returns
void