Skip to main content

On Player Visibility Detection

Trigger entries when a player is detected by an entity's visibility system

Fields

FieldTypeDefaultDescription
entityRef<out EntityInstanceEntry>——
Common TypeWriter fields (triggers)
FieldTypeDefaultDescription
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Fires when an NPC with a visibility detection activity sees a player. entity is the NPC instance to listen to. It is the event-side of Visibility Detection and the other activities of that family: you can also put triggers directly on the activity.