Aller au contenu principal

Random Patrol Visibility Detection Activity

Randomly patrol nodes while detecting players

Champs

ChampTypePar défautDescription
roadNetworkRef<RoadNetworkEntry>——
patrolRadiusDouble100.0The maximum distance (in blocks) from the entity's current position to consider nodes for random selection.
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 areaValeurs :CONESPHERE
showDisplaysVar<Boolean>trueDisplay debug visualization
stopWhenLookingBooleantruePause patrolling while a player is visible
Champs TypeWriter communs (triggers, criteria)
ChampTypePar défautDescription
triggersList<Ref<TriggerableEntry>>empty—
criteriaList<Criteria>empty—