Aller au contenu principal

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. entityEntityInstanceEntry

The entity performing the detection.

info

Requires AnimationExtension or similar for active AI scanning.

Example

on_player_visibility_detection:
actions:
- message_action:
message: "<red>You have been spotted!"