Patrol Visibility Detection Activity
Patrol nodes while detecting players
Fields
| Field | Type | Default | Description |
|---|---|---|---|
roadNetwork | Ref<RoadNetworkEntry> | — | — |
nodeIds | List<Int> | empty | IDs of road nodes to patrol in sequence |
visionRadius | Var<Double> | 5.0 | Maximum distance in blocks the NPC can see |
fov | Var<Double> | 90.0 | Field of view in degrees (max 360) |
shape | Var<VisionShape> | CONE | Shape of the vision areaValues:CONESPHERE |
showDisplays | Var<Boolean> | true | Display debug visualization |
stopWhenLooking | Boolean | true | Pause patrolling while a player is visible |
Common TypeWriter fields (triggers, criteria)
| Field | Type | Default | Description |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |
criteria | List<Criteria> | empty | — |