Skip to main content

Smell Activity

Detect players carrying a specific item

Fields

FieldTypeDefaultDescription
materialMaterialCODMaterial that attracts the NPC
radiusDouble10.0Maximum distance in blocks the NPC can smell
detectionRadiusDouble30.0Maximum distance from the spawn location the player can move before the activity stops
Common TypeWriter fields (triggers, criteria)
FieldTypeDefaultDescription
triggersList<Ref<TriggerableEntry>>empty—
criteriaList<Criteria>empty—