Перейти к основному содержимому

MythicHUD Look Audience

Displays a MythicHUD popup when a player looks at a configured target position.

Configuration

mythichud_look_audienceMap

Configuration for this audience.

Properties

popupId

"> MythicHUD popup ID. Default: typewriter_look_popup. target

" required> The world position the player must look at. playerRadius

"> Maximum distance between player and target. Default: 3.0. viewRadius

"> Acceptable radius around the target for the look direction. Default: 5.0. requireLineOfSight

"> Require a clear line of sight (no blocks between player and target). Default: false. text

"> Text displayed in the popup. Supports MiniMessage and PAPI. customVariables

"> Additional custom variables.

%arg-N%Content
%arg-1%Name of the nearest player to the target
%arg-2%Configured display text

Behavior

  • The popup appears when the player's crosshair is within viewRadius of the target and the player is within playerRadius of the target
  • The popup disappears when the player looks away
  • If requireLineOfSight is enabled, blocks between the player and target prevent the popup