Visibility Events
Trigger actions when an entity sees a player.
Configuration
on_player_visibility_detection
Triggers when a player enters an entity's line of sight.
entity — EntityInstanceEntry
The entity performing the detection.
備考
Requires AnimationExtension or similar for active AI scanning.
Example
on_player_visibility_detection:
actions:
- message_action:
message: "<red>You have been spotted!"