AreaPattern

Executes patterns for filtered NPCs around the entity.

Works with Players too.

Postal III Ultrapatch+Angel v1.3.0+ Feature

The following function will only work in Postal III Ultrapatch+Angel v1.3.0 or higher.

Note

The patterns in the behavior must exist to work!

Caller will be the entity that executed AreaPattern.

Syntax

AreaPattern [behavior]:[state].[execution],[radius],[filter1],[filter2],[filter3],... -- Executes pattern for the entities

Example

AreaPattern bh_npc_social:st_start.xpt_something,64,Police,Citizens,Hobos -- Executes only for Police, Citizens and Hobos, and they must be very close.