Перейти к основному содержимому

Patrol Visibility Detection Activity

Patrol nodes while detecting players

Поля

ПолеТипПо умолчаниюОписание
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 areaЗначения:CONESPHERE
showDisplaysVar<Boolean>trueDisplay debug visualization
stopWhenLookingBooleantruePause patrolling while a player is visible
Общие поля TypeWriter (triggers, criteria)
ПолеТипПо умолчаниюОписание
triggersList<Ref<TriggerableEntry>>empty—
criteriaList<Criteria>empty—