On Player Visibility Detection
Trigger entries when a player is detected by an entity's visibility system
Fields
| Field | Type | Default | Description |
|---|---|---|---|
entity | Ref<out EntityInstanceEntry> | — | — |
Common TypeWriter fields (triggers)
| Field | Type | Default | Description |
|---|---|---|---|
triggers | List<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.