Patrol Visibility Detection Activity
Patrol nodes while detecting players
Поля
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
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 areaЗначения:CONESPHERE |
showDisplays | Var<Boolean> | true | Display debug visualization |
stopWhenLooking | Boolean | true | Pause patrolling while a player is visible |
Общие поля TypeWriter (triggers, criteria)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |
criteria | List<Criteria> | empty | — |