Zum Hauptinhalt springen

Patrol Visibility Detection Activity

Patrol nodes while detecting players

Felder

FeldTypStandardBeschreibung
roadNetworkRef<RoadNetworkEntry>——
nodeIdsList<Int>emptyIDs of road nodes to patrol in sequence
visionRadiusVar<Double>5.0Maximum distance in blocks the NPC can see
fovVar<Double>90.0Field of view in degrees (max 360)
shapeVar<VisionShape>CONEShape of the vision areaWerte:CONESPHERE
showDisplaysVar<Boolean>trueDisplay debug visualization
stopWhenLookingBooleantruePause patrolling while a player is visible
Gemeinsame TypeWriter-Felder (triggers, criteria)
FeldTypStandardBeschreibung
triggersList<Ref<TriggerableEntry>>empty—
criteriaList<Criteria>empty—