跳到主要内容

On Player Visibility Detection

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

字段

字段类型默认值描述
entityRef<out EntityInstanceEntry>——
TypeWriter 通用字段(triggers)
字段类型默认值描述
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.